diff options
author | Thiago Marcos P. Santos <tmpsantos@gmail.com> | 2017-06-21 20:54:20 +0300 |
---|---|---|
committer | Thiago Marcos P. Santos <tmpsantos@gmail.com> | 2017-06-26 16:32:21 +0300 |
commit | c3900e42d6b58eeb14c3246528f0517229bd51b9 (patch) | |
tree | e6d07d2b9816782601c93df7ba268842731d17f6 /include/mbgl/util/run_loop.hpp | |
parent | 1ed059a15bb06da136c7c3251158bcb42e954583 (diff) | |
download | qtlocation-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.hpp | 9 |
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: |