summaryrefslogtreecommitdiff
path: root/src/mbgl/map/tile_data.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/map/tile_data.hpp')
-rw-r--r--src/mbgl/map/tile_data.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mbgl/map/tile_data.hpp b/src/mbgl/map/tile_data.hpp
index ed3426cf80..2bb11054a6 100644
--- a/src/mbgl/map/tile_data.hpp
+++ b/src/mbgl/map/tile_data.hpp
@@ -88,7 +88,7 @@ public:
return state;
}
- std::string getError() const {
+ std::exception_ptr getError() const {
return error;
}
@@ -103,7 +103,7 @@ public:
protected:
std::atomic<State> state;
- std::string error;
+ std::exception_ptr error;
};
} // namespace mbgl