From 26987f904990be91a65811a2eca9aab883fe7560 Mon Sep 17 00:00:00 2001 From: Dennis Luxen Date: Wed, 21 Dec 2022 15:52:09 +0100 Subject: [PATCH] Fix conditionally built tool --- src/tools/io-benchmark.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/tools/io-benchmark.cpp b/src/tools/io-benchmark.cpp index 7e4742fe9..80db12926 100644 --- a/src/tools/io-benchmark.cpp +++ b/src/tools/io-benchmark.cpp @@ -20,9 +20,7 @@ #include #include -namespace osrm -{ -namespace tools +namespace osrm::tools { const unsigned NUMBER_OF_ELEMENTS = 268435456; @@ -45,8 +43,7 @@ void runStatistics(std::vector &timings_vector, Statistics &stats) timings_vector.begin(), timings_vector.end(), timings_vector.begin(), 0.0); stats.dev = std::sqrt(primary_sq_sum / timings_vector.size() - (stats.mean * stats.mean)); } -} // namespace tools -} // namespace osrm +} // namespace osrm::tools boost::filesystem::path test_path;