summaryrefslogtreecommitdiff
path: root/src/map/map.cpp
diff options
context:
space:
mode:
authorMike Morris <michael.patrick.morris@gmail.com>2014-08-20 19:43:29 -0400
committerMike Morris <michael.patrick.morris@gmail.com>2014-08-20 19:43:29 -0400
commit3466f364121b3a0a157ce62c417c94802484351a (patch)
treee736b45ab02cc892122661665cd0921923b70853 /src/map/map.cpp
parent1ff71a78e05e0c12fca26fea2c7bda14b237631a (diff)
downloadqtlocation-mapboxgl-3466f364121b3a0a157ce62c417c94802484351a.tar.gz
bump mapnik-packaging, conform to libuv 0.10 api
Diffstat (limited to 'src/map/map.cpp')
-rw-r--r--src/map/map.cpp8
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*/) {