diff --git a/lanelet2_routing/test/test_routing_map.h b/lanelet2_routing/test/test_routing_map.h index b4ad1829..c31fbeba 100644 --- a/lanelet2_routing/test/test_routing_map.h +++ b/lanelet2_routing/test/test_routing_map.h @@ -477,12 +477,13 @@ class RoutingGraphTestData { } }; -namespace { // NOLINT -static RoutingGraphTestData testData; // NOLINT -} // namespace +// namespace data { // NOLINT +// static RoutingGraphTestData testData; // NOLINT +// } // namespace data class RoutingGraphTest : public ::testing::Test { public: + inline static RoutingGraphTestData testData; const std::unordered_map& lanelets{testData.lanelets}; const std::unordered_map& areas{testData.areas}; const std::unordered_map& points{testData.points};