diff options
author | Mike Morris <michael.patrick.morris@gmail.com> | 2014-08-20 19:43:29 -0400 |
---|---|---|
committer | Mike Morris <michael.patrick.morris@gmail.com> | 2014-08-20 19:43:29 -0400 |
commit | 3466f364121b3a0a157ce62c417c94802484351a (patch) | |
tree | e736b45ab02cc892122661665cd0921923b70853 /src/map | |
parent | 1ff71a78e05e0c12fca26fea2c7bda14b237631a (diff) | |
download | qtlocation-mapboxgl-3466f364121b3a0a157ce62c417c94802484351a.tar.gz |
bump mapnik-packaging, conform to libuv 0.10 api
Diffstat (limited to 'src/map')
-rw-r--r-- | src/map/map.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/map/map.cpp b/src/map/map.cpp index 6aa9071a4f..8caea4c797 100644 --- a/src/map/map.cpp +++ b/src/map/map.cpp @@ -98,7 +98,7 @@ void Map::stop() { async = false; } -void Map::delete_async(uv_handle_t *handle) { +void Map::delete_async(uv_handle_t *handle, int status) { delete (uv_async_t *)handle; } @@ -143,14 +143,14 @@ void Map::cleanup() { } } -void Map::cleanup(uv_async_t *async) { +void Map::cleanup(uv_async_t *async, int status) { Map *map = static_cast<Map *>(async->data); map->view.make_active(); map->painter.cleanup(); } -void Map::render(uv_async_t *async) { +void Map::render(uv_async_t *async, int status) { Map *map = static_cast<Map *>(async->data); @@ -170,7 +170,7 @@ void Map::render(uv_async_t *async) { } } -void Map::terminate(uv_async_t *async) { +void Map::terminate(uv_async_t *async, int status) { // Closes all open handles on the loop. This means that the loop will automatically terminate. uv_loop_t *loop = static_cast<uv_loop_t *>(async->data); uv_walk(loop, [](uv_handle_t *handle, void */*arg*/) { |