diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2014-07-03 12:30:42 +0200 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2014-07-03 12:30:42 +0200 |
commit | 59226af665468079fa662d4fa30a6adbd880d736 (patch) | |
tree | d289be014c406c6beb5620ba152a077938c1ab8f /include | |
parent | 1b2c48027e1e8d8bbffdeebbbd67fa14075b225d (diff) | |
download | qtlocation-mapboxgl-59226af665468079fa662d4fa30a6adbd880d736.tar.gz |
correctly detect duplicate layers
Diffstat (limited to 'include')
-rw-r--r-- | include/llmr/style/style_parser.hpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/llmr/style/style_parser.hpp b/include/llmr/style/style_parser.hpp index a1af11ef6a..10cd3d2e88 100644 --- a/include/llmr/style/style_parser.hpp +++ b/include/llmr/style/style_parser.hpp @@ -102,9 +102,6 @@ private: // This maps ids to Layer objects, with all items being at the root level. std::unordered_map<std::string, std::pair<JSVal, std::shared_ptr<StyleLayer>>> layers; - // Layer IDs that we have encountered previously while parsing this stylesheet. - std::set<std::string> existing_layer_ids; - // Store a stack of layers we're parsing right now. This is to prevent reference cycles. std::forward_list<StyleLayer *> stack; |