store uv::loop as unique_ptr

This commit is contained in:
artemp
2014-10-29 18:12:11 -04:00
parent 6622a07ad8
commit 9ff0d00912
2 changed files with 2 additions and 3 deletions

View File

@@ -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()),