summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2015-05-22 13:34:05 +0200
committerJohn Firebaugh <john.firebaugh@gmail.com>2015-06-26 10:32:06 -0700
commit740281cc89e99fbbedf07fcf62253ada84f60776 (patch)
treed736d94931a1b876182668df3fbbb325127482bd
parent29fd554c326da14badf9531aa5d5eaf7ed7c4c50 (diff)
downloadqtlocation-mapboxgl-740281cc89e99fbbedf07fcf62253ada84f60776.tar.gz
remove unused renderAsync() function
-rw-r--r--include/mbgl/map/map.hpp1
-rw-r--r--src/mbgl/map/map.cpp4
2 files changed, 0 insertions, 5 deletions
diff --git a/include/mbgl/map/map.hpp b/include/mbgl/map/map.hpp
index 463235915e..54c4d44f2e 100644
--- a/include/mbgl/map/map.hpp
+++ b/include/mbgl/map/map.hpp
@@ -63,7 +63,6 @@ public:
// Triggers a synchronous or asynchronous render.
void renderSync();
- void renderAsync();
// Notifies the Map thread that the state has changed and an update might be necessary.
void update(Update update = Update::Nothing);
diff --git a/src/mbgl/map/map.cpp b/src/mbgl/map/map.cpp
index bd6d0960dd..1b8cd2b0e7 100644
--- a/src/mbgl/map/map.cpp
+++ b/src/mbgl/map/map.cpp
@@ -46,10 +46,6 @@ void Map::renderSync() {
context->invokeSync(&MapContext::render);
}
-void Map::renderAsync() {
- context->invoke(&MapContext::render);
-}
-
void Map::update(Update update_) {
context->invoke(&MapContext::triggerUpdate, update_);
}