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 b813444 commit 4387030
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 @@ -53,7 +53,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 4387030

Please sign in to comment.