summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2015-06-11 11:07:28 -0400
committerKonstantin Käfer <mail@kkaefer.com>2015-07-08 19:45:59 +0200
commit7f705da5644092d48b48aaacbe3dc232ff5149fc (patch)
treeea5612d580d0cafe4144175505c55c379d8e7e7e /include
parent03c4ed75a2684b9866a00eebf0392c96cceb8d34 (diff)
downloadqtlocation-mapboxgl-7f705da5644092d48b48aaacbe3dc232ff5149fc.tar.gz
Sprite store API
Diffstat (limited to 'include')
-rw-r--r--include/mbgl/util/exception.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/mbgl/util/exception.hpp b/include/mbgl/util/exception.hpp
index da61aa482a..31fa693f8d 100644
--- a/include/mbgl/util/exception.hpp
+++ b/include/mbgl/util/exception.hpp
@@ -11,6 +11,11 @@ struct Exception : std::runtime_error {
inline Exception(const std::string &msg) : std::runtime_error(msg) {}
};
+struct SpriteImageException : Exception {
+ inline SpriteImageException(const char *msg) : Exception(msg) {}
+ inline SpriteImageException(const std::string &msg) : Exception(msg) {}
+};
+
struct GlyphRangeLoadingException : Exception {
inline GlyphRangeLoadingException(const char *msg) : Exception(msg) {}
inline GlyphRangeLoadingException(const std::string &msg) : Exception(msg) {}