Use nested namespace

It's a mechanical change to modernize the code base
This commit is contained in:
Dennis Luxen
2022-12-11 10:10:26 +01:00
parent 152a52bc1a
commit a4aa153ba4
456 changed files with 469 additions and 2474 deletions
+3 -15
View File
@@ -5,21 +5,13 @@
#include <boost/test/unit_test.hpp>
namespace osrm
namespace osrm::engine
{
namespace engine
{
namespace routing_algorithms
{
// Declare offline data facade algorithm
namespace offline
namespace routing_algorithms::offline
{
struct Algorithm final
{
};
} // namespace offline
} // namespace routing_algorithms
// Define engine data for offline data facade
@@ -332,9 +324,7 @@ class ContiguousInternalMemoryDataFacade<routing_algorithms::offline::Algorithm>
} // namespace datafacade
// Fallback to MLD algorithm: requires from data facade MLD specific members
namespace routing_algorithms
{
namespace offline
namespace routing_algorithms::offline
{
template <typename PhantomT>
@@ -371,10 +361,8 @@ void unpackPath(const FacadeT &facade,
mld::unpackPath(facade, packed_path_begin, packed_path_end, endpoints, unpacked_path);
}
} // namespace offline
} // namespace routing_algorithms
} // namespace engine
} // namespace osrm
BOOST_AUTO_TEST_SUITE(offline_facade)