Use nested namespace
It's a mechanical change to modernize the code base
This commit is contained in:
@@ -25,9 +25,7 @@
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
namespace osrm
|
||||
{
|
||||
namespace tools
|
||||
namespace osrm::tools
|
||||
{
|
||||
|
||||
using TarjanGraph = util::StaticGraph<void>;
|
||||
@@ -103,7 +101,6 @@ struct FeatureWriter
|
||||
};
|
||||
|
||||
//
|
||||
} // namespace tools
|
||||
} // namespace osrm
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
|
||||
@@ -52,9 +52,7 @@ const static unsigned INIT_OK_START_ENGINE = 0;
|
||||
const static unsigned INIT_OK_DO_NOT_START_ENGINE = 1;
|
||||
const static unsigned INIT_FAILED = -1;
|
||||
|
||||
namespace osrm
|
||||
{
|
||||
namespace engine
|
||||
namespace osrm::engine
|
||||
{
|
||||
std::istream &operator>>(std::istream &in, EngineConfig::Algorithm &algorithm)
|
||||
{
|
||||
@@ -70,7 +68,6 @@ std::istream &operator>>(std::istream &in, EngineConfig::Algorithm &algorithm)
|
||||
throw util::RuntimeError(token, ErrorCode::UnknownAlgorithm, SOURCE_REF);
|
||||
return in;
|
||||
}
|
||||
} // namespace engine
|
||||
} // namespace osrm
|
||||
|
||||
// generate boost::program_options object for the routing part
|
||||
|
||||
Reference in New Issue
Block a user