diff options
Diffstat (limited to 'src/mbgl/sprite/sprite_parser.hpp')
-rw-r--r-- | src/mbgl/sprite/sprite_parser.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/sprite/sprite_parser.hpp b/src/mbgl/sprite/sprite_parser.hpp index f2e7358ac2..7d545a6d98 100644 --- a/src/mbgl/sprite/sprite_parser.hpp +++ b/src/mbgl/sprite/sprite_parser.hpp @@ -17,7 +17,7 @@ std::unique_ptr<style::Image> createStyleImage(const std::string& id, bool sdf, style::ImageStretches&& stretchX = {}, style::ImageStretches&& stretchY = {}, - optional<style::ImageContent> content = nullopt); + const optional<style::ImageContent>& content = nullopt); // Parses an image and an associated JSON file and returns the sprite objects. std::vector<Immutable<style::Image::Impl>> parseSprite(const std::string& image, const std::string& json); |