diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2015-05-13 11:50:16 -0700 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2015-05-13 13:54:16 -0700 |
commit | e6eb6c7fe421abe1fa6d2ca0934847cf326fa222 (patch) | |
tree | 0b15129a3b500d1163c0608e47cf99b24b09a237 /include/mbgl | |
parent | 386be7c0faf20220f1e25b1a29f478519d1e2aa9 (diff) | |
download | qtlocation-mapboxgl-e6eb6c7fe421abe1fa6d2ca0934847cf326fa222.tar.gz |
Use uv::async
Diffstat (limited to 'include/mbgl')
-rw-r--r-- | include/mbgl/storage/request.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/mbgl/storage/request.hpp b/include/mbgl/storage/request.hpp index 5d979a2813..4b75f23f6e 100644 --- a/include/mbgl/storage/request.hpp +++ b/include/mbgl/storage/request.hpp @@ -11,8 +11,8 @@ #include <functional> #include <memory> -typedef struct uv_async_s uv_async_t; typedef struct uv_loop_s uv_loop_t; +namespace uv { class async; } namespace mbgl { @@ -37,7 +37,7 @@ private: void notifyCallback(); private: - uv_async_t *async = nullptr; + std::unique_ptr<uv::async> async; struct Canceled; std::unique_ptr<Canceled> canceled; Callback callback; |