summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2014-12-04 14:18:41 -0800
committerJohn Firebaugh <john.firebaugh@gmail.com>2014-12-06 14:08:40 -0800
commitde098591c5969735f2ed4683f9cc47221f152dd1 (patch)
tree0fda2a370b1c7cdf9a1ea1909231e8c38c859c2a /include
parent004d12ea0b89d5fe369ab5631e20cc7e2caef429 (diff)
downloadqtlocation-mapboxgl-de098591c5969735f2ed4683f9cc47221f152dd1.tar.gz
Remove Map::cleanup and Painter::cleanup
Both were noops.
Diffstat (limited to 'include')
-rw-r--r--include/mbgl/map/map.hpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/mbgl/map/map.hpp b/include/mbgl/map/map.hpp
index 45ec16ffd5..245aaf9ea7 100644
--- a/include/mbgl/map/map.hpp
+++ b/include/mbgl/map/map.hpp
@@ -56,9 +56,6 @@ public:
// Forces a map update: always triggers a rerender.
void update();
- // Triggers a cleanup that releases resources.
- void cleanup();
-
// Releases resources immediately
void terminate();
@@ -145,7 +142,6 @@ private:
std::thread thread;
std::unique_ptr<uv::async> asyncTerminate;
std::unique_ptr<uv::async> asyncRender;
- std::unique_ptr<uv::async> asyncCleanup;
// If cleared, the next time the render thread attempts to render the map, it will *actually*
// render the map.