diff options
author | Thiago Marcos P. Santos <thiago@mapbox.com> | 2016-07-13 17:55:21 +0300 |
---|---|---|
committer | Thiago Marcos P. Santos <thiago@mapbox.com> | 2016-07-13 17:56:51 +0300 |
commit | 389c7615eb70483b19f5917395f8cd505c08361b (patch) | |
tree | aac1cda5d551d440f9aa6435c59fc7aa51b2012b /src/mbgl/geometry | |
parent | b9c273d19713f9712dc06c90364fc78224fac351 (diff) | |
download | qtlocation-mapboxgl-389c7615eb70483b19f5917395f8cd505c08361b.tar.gz |
[core] Revert workaround for std::atomic on ARMv5
Got fix on r12.
https://github.com/android-ndk/ndk/issues/31
Diffstat (limited to 'src/mbgl/geometry')
-rw-r--r-- | src/mbgl/geometry/glyph_atlas.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mbgl/geometry/glyph_atlas.hpp b/src/mbgl/geometry/glyph_atlas.hpp index 5252963f51..b9170c1caf 100644 --- a/src/mbgl/geometry/glyph_atlas.hpp +++ b/src/mbgl/geometry/glyph_atlas.hpp @@ -2,12 +2,12 @@ #include <mbgl/geometry/binpack.hpp> #include <mbgl/text/glyph_store.hpp> -#include <mbgl/util/atomic.hpp> #include <mbgl/util/noncopyable.hpp> #include <mbgl/util/optional.hpp> #include <mbgl/gl/gl.hpp> #include <mbgl/gl/object_store.hpp> +#include <atomic> #include <string> #include <set> #include <unordered_map> @@ -57,7 +57,7 @@ private: BinPack<uint16_t> bin; std::unordered_map<FontStack, std::map<uint32_t, GlyphValue>, FontStackHash> index; const std::unique_ptr<uint8_t[]> data; - util::Atomic<bool> dirty; + std::atomic<bool> dirty; mbgl::optional<gl::UniqueTexture> texture; }; |