summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2014-11-11 18:05:24 +0100
committerKonstantin Käfer <mail@kkaefer.com>2014-12-04 12:19:21 +0100
commit65451187f50de0ca5e76f0f10d7cfa51dac867c2 (patch)
treef85cbeb4d21d77ff619d2d3bd2b980191580a2a5 /include
parent57249ca32c7b0684be36f5195d4967e6517fe75b (diff)
downloadqtlocation-mapboxgl-65451187f50de0ca5e76f0f10d7cfa51dac867c2.tar.gz
[performance] remove use of snprintf in hot path; it's pretty slow on iOS
Diffstat (limited to 'include')
-rw-r--r--include/mbgl/map/tile_data.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mbgl/map/tile_data.hpp b/include/mbgl/map/tile_data.hpp
index c8a13b83de..1ae215b204 100644
--- a/include/mbgl/map/tile_data.hpp
+++ b/include/mbgl/map/tile_data.hpp
@@ -66,6 +66,7 @@ public:
public:
const Tile::ID id;
+ const std::string name;
std::atomic<State> state;
public: