summaryrefslogtreecommitdiff
path: root/include/mbgl/storage
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <thiago@mapbox.com>2016-06-06 16:18:46 +0300
committerThiago Marcos P. Santos <thiago@mapbox.com>2016-06-06 23:31:51 +0300
commitb711979e328c54dbfd3240ea339a1662c7f9c808 (patch)
treefdedd9c4f9873b090f4c69ac5ab77a97ddd558c9 /include/mbgl/storage
parentf4a82bd367cc5a2134f37dec9979a7d653ef965c (diff)
downloadqtlocation-mapboxgl-b711979e328c54dbfd3240ea339a1662c7f9c808.tar.gz
[android] #5254 - fix ARMv5 support
Backported patches fixing ARMv5 support for issue #3985.
Diffstat (limited to 'include/mbgl/storage')
-rw-r--r--include/mbgl/storage/network_status.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/mbgl/storage/network_status.hpp b/include/mbgl/storage/network_status.hpp
index d7f502a3b2..1b5471a44e 100644
--- a/include/mbgl/storage/network_status.hpp
+++ b/include/mbgl/storage/network_status.hpp
@@ -1,6 +1,7 @@
#pragma once
-#include <atomic>
+#include <mbgl/util/atomic.hpp>
+
#include <mutex>
#include <set>
@@ -26,7 +27,7 @@ public:
static void Unsubscribe(util::AsyncTask* async);
private:
- static std::atomic<bool> online;
+ static util::Atomic<bool> online;
static std::mutex mtx;
static std::set<util::AsyncTask*> observers;
};