summaryrefslogtreecommitdiff
path: root/include/mbgl/util/run_loop.hpp
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <tmpsantos@gmail.com>2017-06-21 20:54:20 +0300
committerThiago Marcos P. Santos <tmpsantos@gmail.com>2017-06-26 16:32:21 +0300
commitc3900e42d6b58eeb14c3246528f0517229bd51b9 (patch)
treee6d07d2b9816782601c93df7ba268842731d17f6 /include/mbgl/util/run_loop.hpp
parent1ed059a15bb06da136c7c3251158bcb42e954583 (diff)
downloadqtlocation-mapboxgl-c3900e42d6b58eeb14c3246528f0517229bd51b9.tar.gz
[core] Removed unused methods
No longer needed after refactoring ::setResourceTransform.
Diffstat (limited to 'include/mbgl/util/run_loop.hpp')
-rw-r--r--include/mbgl/util/run_loop.hpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/include/mbgl/util/run_loop.hpp b/include/mbgl/util/run_loop.hpp
index 1804fb12bd..14352ca823 100644
--- a/include/mbgl/util/run_loop.hpp
+++ b/include/mbgl/util/run_loop.hpp
@@ -63,15 +63,6 @@ public:
return std::make_unique<WorkRequest>(task);
}
- // Invoke fn(args...) on this RunLoop, then invoke callback(results...) on the current RunLoop.
- template <class Fn, class... Args>
- std::unique_ptr<AsyncRequest>
- invokeWithCallback(Fn&& fn, Args&&... args) {
- std::shared_ptr<WorkTask> task = WorkTask::makeWithCallback(std::forward<Fn>(fn), std::forward<Args>(args)...);
- push(task);
- return std::make_unique<WorkRequest>(task);
- }
-
class Impl;
private: