make more things const and refs, and add mutexes

This commit is contained in:
Konstantin Käfer
2015-03-20 13:14:00 +01:00
parent 0cdf21c62d
commit f73dfc73f1
10 changed files with 179 additions and 122 deletions

View File

@@ -8,8 +8,6 @@ const double mbgl::util::M2PI = 2 * M_PI;
const double mbgl::util::EARTH_RADIUS_M = 6378137;
const double mbgl::util::LATITUDE_MAX = 85.05112878;
const std::string mbgl::util::ANNOTATIONS_POINTS_LAYER_ID = "com.mapbox.annotations.points";
#if defined(DEBUG)
const bool mbgl::debug::tileParseWarnings = false;
const bool mbgl::debug::styleParseWarnings = false;