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
+1 -4
View File
@@ -21,9 +21,7 @@
// Function loads time zone shape polygons, computes a zone local time for utc_time,
// creates a lookup R-tree and returns a lambda function that maps a point
// to the corresponding local time
namespace osrm
{
namespace updater
namespace osrm::updater
{
Timezoner::Timezoner(const char geojson[], std::time_t utc_time_now)
@@ -171,5 +169,4 @@ boost::optional<struct tm> Timezoner::operator()(const point_t &point) const
}
return boost::none;
}
} // namespace updater
} // namespace osrm