From 08c5eed08f2752fc35837d8f476dacaf3e22b8ad Mon Sep 17 00:00:00 2001 From: Patrick Niklaus Date: Thu, 26 Apr 2018 21:07:35 +0000 Subject: [PATCH] Make cheap rulers static --- src/util/coordinate_calculation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/coordinate_calculation.cpp b/src/util/coordinate_calculation.cpp index a5917c270a..2d017abd47 100644 --- a/src/util/coordinate_calculation.cpp +++ b/src/util/coordinate_calculation.cpp @@ -55,7 +55,7 @@ class CheapRulerContainer std::vector cheap_ruler_cache; const int step; }; -CheapRulerContainer cheap_ruler_container(1800); +static CheapRulerContainer cheap_ruler_container(1800); } // namespace // Does not project the coordinates!