diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2014-08-12 15:12:03 +0200 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2014-08-12 15:12:31 +0200 |
commit | 213b6ad4dc5bec3f561486422e5b5686cd988696 (patch) | |
tree | 46eee7723e938dc9f7e1df2acd12ff6fb2efabd4 /src/style | |
parent | 0263a9ffb7afc4f48e84b3fe3e0263cf32f739f5 (diff) | |
parent | bdfc1036d3b0148fa0f57a277f7686b4b38e2071 (diff) | |
download | qtlocation-mapboxgl-213b6ad4dc5bec3f561486422e5b5686cd988696.tar.gz |
Merge branch 'master' into rasterize
[skip ci]
Diffstat (limited to 'src/style')
-rw-r--r-- | src/style/style.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/style/style.cpp b/src/style/style.cpp index 03881f96a0..22c7610105 100644 --- a/src/style/style.cpp +++ b/src/style/style.cpp @@ -6,6 +6,8 @@ #include <mbgl/util/constants.hpp> #include <mbgl/util/time.hpp> #include <mbgl/util/error.hpp> +#include <mbgl/util/std.hpp> +#include <mbgl/util/uv_detail.hpp> #include <csscolorparser/csscolorparser.hpp> #include <rapidjson/document.h> @@ -13,7 +15,8 @@ namespace mbgl { -Style::Style() { +Style::Style() + : mtx(std::make_unique<uv::rwlock>()) { } void Style::updateProperties(float z, timestamp now) { |