Skip to content

Commit b464a78

Browse files
committed
Stop using C++ 20 feature to fix a build error
1 parent 7227efc commit b464a78

File tree

1 file changed

+8
-2
lines changed
  • simulation/traffic_simulator/include/traffic_simulator/data_type

1 file changed

+8
-2
lines changed

simulation/traffic_simulator/include/traffic_simulator/data_type/route_option.hpp

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,17 @@
1515
#ifndef TRAFFIC_SIMULATOR__DATA_TYPE__ROUTE_OPTION_HPP_
1616
#define TRAFFIC_SIMULATOR__DATA_TYPE__ROUTE_OPTION_HPP_
1717

18-
namespace traffic_simulator::inline route_option::inline v1
18+
namespace traffic_simulator
19+
{
20+
inline namespace route_option
21+
{
22+
inline namespace v1
1923
{
2024
struct RouteOption
2125
{
2226
bool allow_goal_modification = false;
2327
};
24-
} // namespace traffic_simulator::inline route_option::inline v1
28+
} // namespace v1
29+
} // namespace route_option
30+
} // namespace traffic_simulator
2531
#endif // TRAFFIC_SIMULATOR__DATA_TYPE__ROUTE_OPTION_HPP_

0 commit comments

Comments
 (0)