Use nested namespace
It's a mechanical change to modernize the code base
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user