diff options
author | artemp <artem@mapnik.org> | 2014-10-29 18:12:11 -0400 |
---|---|---|
committer | artemp <artem@mapnik.org> | 2014-10-29 18:12:11 -0400 |
commit | 9ff0d009124a4b114c0199cc5ef03a87759103a1 (patch) | |
tree | cb26b53f028c23ba293fb6cb5d07e96f50008b64 /src | |
parent | 6622a07ad88c7ca2eb34db66cc46f416f7b5286f (diff) | |
download | qtlocation-mapboxgl-9ff0d009124a4b114c0199cc5ef03a87759103a1.tar.gz |
store uv::loop as unique_ptr
Diffstat (limited to 'src')
-rw-r--r-- | src/map/map.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/map.cpp b/src/map/map.cpp index f9976b4e14..ad82484763 100644 --- a/src/map/map.cpp +++ b/src/map/map.cpp @@ -31,7 +31,7 @@ using namespace mbgl; Map::Map(View& view_) - : loop(std::make_shared<uv::loop>()), + : loop(std::make_unique<uv::loop>()), thread(std::make_unique<uv::thread>()), async_terminate(new uv_async_t()), async_render(new uv_async_t()), |