summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLeith Bade <leith@mapbox.com>2014-12-03 22:10:55 +1100
committerLeith Bade <leith@mapbox.com>2014-12-03 22:10:55 +1100
commit772fe9dcbc117b0176ed4b2eef0b56699b672340 (patch)
tree9cceaf34e505258199ee48c7b2fe3700bbe0c327 /src
parent94d34ce7ac7182a1ff7cc0dea675abcdd7592b56 (diff)
downloadqtlocation-mapboxgl-772fe9dcbc117b0176ed4b2eef0b56699b672340.tar.gz
Fix make_unique
Diffstat (limited to 'src')
-rw-r--r--src/map/map.cpp2
-rw-r--r--src/storage/asset_request_baton.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/map/map.cpp b/src/map/map.cpp
index afd16b32e9..bf5509d06b 100644
--- a/src/map/map.cpp
+++ b/src/map/map.cpp
@@ -629,7 +629,7 @@ void Map::setAppliedClasses(const std::vector<std::string> &classes) {
}
else {
std::lock_guard<std::mutex> lock(appliedClassesMutex);
- appliedClasses = std::make_unique<std::vector<std::string>>(classes);
+ appliedClasses = mbgl::util::make_unique<std::vector<std::string>>(classes);
}
}
diff --git a/src/storage/asset_request_baton.cpp b/src/storage/asset_request_baton.cpp
index 851751658f..a0e4149b91 100644
--- a/src/storage/asset_request_baton.cpp
+++ b/src/storage/asset_request_baton.cpp
@@ -13,7 +13,7 @@ AssetRequestBaton::AssetRequestBaton(AssetRequest *request_, const std::string &
request(request_),
path(path_) {
- asyncRun = std::make_unique<uv::async>(loop, [this]() {
+ asyncRun = mbgl::util::make_unique<uv::async>(loop, [this]() {
run(this);
});