summaryrefslogtreecommitdiff
path: root/include/mbgl/storage/file_source.hpp
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2014-09-16 16:38:32 +0200
committerKonstantin Käfer <mail@kkaefer.com>2014-09-24 16:14:09 +0200
commitf26bb724dc164b69b5358f30c6248fdf5cbd076b (patch)
tree4c719a97ff02c86a22bcdcec6fc0f781c3bcd3e9 /include/mbgl/storage/file_source.hpp
parent6c526e56370a0f4dee9a4b6ed45489fcb14e3ff1 (diff)
downloadqtlocation-mapboxgl-f26bb724dc164b69b5358f30c6248fdf5cbd076b.tar.gz
use util::ptr as a wrapper around std::shared_ptr that asserts nonemptiness
Diffstat (limited to 'include/mbgl/storage/file_source.hpp')
-rw-r--r--include/mbgl/storage/file_source.hpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/mbgl/storage/file_source.hpp b/include/mbgl/storage/file_source.hpp
index 4cc95ae24e..06d416d0c6 100644
--- a/include/mbgl/storage/file_source.hpp
+++ b/include/mbgl/storage/file_source.hpp
@@ -5,7 +5,6 @@
#include <mbgl/storage/request.hpp>
#include <string>
-#include <memory>
#include <unordered_map>
#include <functional>
@@ -44,7 +43,7 @@ private:
std::string base;
std::unordered_map<std::string, std::weak_ptr<BaseRequest>> pending;
- std::shared_ptr<SQLiteStore> store;
+ util::ptr<SQLiteStore> store;
uv_loop_t *loop = nullptr;
uv_messenger_t *queue = nullptr;
};