summaryrefslogtreecommitdiff
path: root/src/map/sprite.cpp
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2014-12-03 11:27:24 +0100
committerKonstantin Käfer <mail@kkaefer.com>2014-12-03 11:27:24 +0100
commit82f3574d09064a442e30eb2dc7639f473749c5bd (patch)
treedfb0aa6182a0d7d04b6131199d67ff90a87cb9c1 /src/map/sprite.cpp
parent50669307c5648e62941a63e0c75dba8602448d9d (diff)
downloadqtlocation-mapboxgl-82f3574d09064a442e30eb2dc7639f473749c5bd.tar.gz
add array overloads to make_unique and move it to mbgl::util from std
Diffstat (limited to 'src/map/sprite.cpp')
-rw-r--r--src/map/sprite.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/sprite.cpp b/src/map/sprite.cpp
index 82073619d4..c1f71e59d9 100644
--- a/src/map/sprite.cpp
+++ b/src/map/sprite.cpp
@@ -101,7 +101,7 @@ bool Sprite::isLoaded() const {
}
void Sprite::parseImage() {
- raster = std::make_unique<util::Image>(image);
+ raster = util::make_unique<util::Image>(image);
if (!*raster) {
raster.reset();
}