summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2015-02-04 20:08:12 +0100
committerKonstantin Käfer <mail@kkaefer.com>2015-03-06 12:41:00 +0100
commit8e42582c52d39153a1e1a0b14599b63c38c68531 (patch)
tree465df28f52acec21c116b256f85f631b474879f1 /include
parent5821be029c46d375d32bff91bdacec2f8ed701dd (diff)
downloadqtlocation-mapboxgl-8e42582c52d39153a1e1a0b14599b63c38c68531.tar.gz
update static image rendering executable
Diffstat (limited to 'include')
-rw-r--r--include/mbgl/map/map.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/mbgl/map/map.hpp b/include/mbgl/map/map.hpp
index 844970bb8f..fed68cb08a 100644
--- a/include/mbgl/map/map.hpp
+++ b/include/mbgl/map/map.hpp
@@ -37,6 +37,11 @@ class GlyphAtlas;
class SpriteAtlas;
class LineAtlas;
+struct exception : std::runtime_error {
+ inline exception(const char *msg) : std::runtime_error(msg) {
+ }
+};
+
class Map : private util::noncopyable {
public:
explicit Map(View&, FileSource&);