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 fe89f1a commit 08c5eed
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 08c5eed

Please sign in to comment.