diff options
-rw-r--r-- | src/mbgl/style/parser.cpp | 1 | ||||
-rw-r--r-- | src/mbgl/style/parser.hpp | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/src/mbgl/style/parser.cpp b/src/mbgl/style/parser.cpp index b90de3e9b9..9d9b80276a 100644 --- a/src/mbgl/style/parser.cpp +++ b/src/mbgl/style/parser.cpp @@ -158,7 +158,6 @@ void Parser::parseSources(const JSValue& value) { continue; } - sourcesMap.emplace(id, (*source).get()); sources.emplace_back(std::move(*source)); } } diff --git a/src/mbgl/style/parser.hpp b/src/mbgl/style/parser.hpp index f992519083..f25e85fbf7 100644 --- a/src/mbgl/style/parser.hpp +++ b/src/mbgl/style/parser.hpp @@ -52,7 +52,6 @@ private: void parseLayers(const JSValue&); void parseLayer(const std::string& id, const JSValue&, std::unique_ptr<Layer>&); - std::unordered_map<std::string, const Source*> sourcesMap; std::unordered_map<std::string, std::pair<const JSValue&, std::unique_ptr<Layer>>> layersMap; // Store a stack of layer IDs we're parsing right now. This is to prevent reference cycles. |