From 02428f1e0695496d7ba4e7c779118890b0dbbd30 Mon Sep 17 00:00:00 2001 From: Dennis Luxen Date: Mon, 15 Sep 2014 12:21:13 +0200 Subject: [PATCH] add object library to benchmarks --- CMakeLists.txt | 2 +- Include/osrm/Coordinate.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a30734be5..abdbc03ee 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -91,7 +91,7 @@ add_executable(osrm-datastore datastore.cpp $ $) # Benchmarks -add_executable(rtree-bench EXCLUDE_FROM_ALL Benchmarks/StaticRTreeBench.cpp) +add_executable(rtree-bench EXCLUDE_FROM_ALL Benchmarks/StaticRTreeBench.cpp $) # Check the release mode if(NOT CMAKE_BUILD_TYPE MATCHES Debug) diff --git a/Include/osrm/Coordinate.h b/Include/osrm/Coordinate.h index 5426ed3a3..ce196dfe0 100644 --- a/Include/osrm/Coordinate.h +++ b/Include/osrm/Coordinate.h @@ -31,7 +31,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #include //for std::ostream #include -const float COORDINATE_PRECISION = 1000000.f; +constexpr float COORDINATE_PRECISION = 1000000.f; struct FixedPointCoordinate {