Skip to content

Commit 26987f9

Browse files
committed
Fix conditionally built tool
1 parent 7c06726 commit 26987f9

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/tools/io-benchmark.cpp

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@
2020
#include <random>
2121
#include <vector>
2222

23-
namespace osrm
24-
{
25-
namespace tools
23+
namespace osrm::tools
2624
{
2725

2826
const unsigned NUMBER_OF_ELEMENTS = 268435456;
@@ -45,8 +43,7 @@ void runStatistics(std::vector<double> &timings_vector, Statistics &stats)
4543
timings_vector.begin(), timings_vector.end(), timings_vector.begin(), 0.0);
4644
stats.dev = std::sqrt(primary_sq_sum / timings_vector.size() - (stats.mean * stats.mean));
4745
}
48-
} // namespace tools
49-
} // namespace osrm
46+
} // namespace osrm::tools
5047

5148
boost::filesystem::path test_path;
5249

0 commit comments

Comments
 (0)