summaryrefslogtreecommitdiff
path: root/src/mbgl/sprite/sprite_parser.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/sprite/sprite_parser.hpp')
-rw-r--r--src/mbgl/sprite/sprite_parser.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mbgl/sprite/sprite_parser.hpp b/src/mbgl/sprite/sprite_parser.hpp
index 468ba13c53..36e8947992 100644
--- a/src/mbgl/sprite/sprite_parser.hpp
+++ b/src/mbgl/sprite/sprite_parser.hpp
@@ -30,8 +30,8 @@ using Sprites = std::map<std::string, SpriteImagePtr>;
using SpriteParseResult = mapbox::util::variant<
- Sprites, // success
- std::string>; // error
+ Sprites, // success
+ std::exception_ptr>; // error
// Parses an image and an associated JSON file and returns the sprite objects.
SpriteParseResult parseSprite(const std::string& image, const std::string& json);