diff options
Diffstat (limited to 'src/style/style.cpp')
-rw-r--r-- | src/style/style.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/style/style.cpp b/src/style/style.cpp index c398f9d59c..f0a498e996 100644 --- a/src/style/style.cpp +++ b/src/style/style.cpp @@ -97,7 +97,7 @@ void Style::loadJSON(const uint8_t *const data) { } StyleParser parser; - parser.parse(const_cast<const rapidjson::Document &>(doc)); + parser.parse(doc); layers = parser.getLayers(); sprite_url = parser.getSprite(); |