diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2015-06-11 11:07:28 -0400 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2015-07-08 19:45:59 +0200 |
commit | 7f705da5644092d48b48aaacbe3dc232ff5149fc (patch) | |
tree | ea5612d580d0cafe4144175505c55c379d8e7e7e /include | |
parent | 03c4ed75a2684b9866a00eebf0392c96cceb8d34 (diff) | |
download | qtlocation-mapboxgl-7f705da5644092d48b48aaacbe3dc232ff5149fc.tar.gz |
Sprite store API
Diffstat (limited to 'include')
-rw-r--r-- | include/mbgl/util/exception.hpp | 5 |
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) {} |