Skip to content

Commit

Permalink
Make cheap rulers static
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMarex committed Apr 26, 2018
1 parent cdf0dde commit 6f60524
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/coordinate_calculation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class CheapRulerContainer
std::vector<mapbox::cheap_ruler::CheapRuler> cheap_ruler_cache;
const int step;
};
CheapRulerContainer cheap_ruler_container(1800);
static CheapRulerContainer cheap_ruler_container(1800);
} // namespace

// Does not project the coordinates!
Expand Down

0 comments on commit 6f60524

Please sign in to comment.