From c3900e42d6b58eeb14c3246528f0517229bd51b9 Mon Sep 17 00:00:00 2001 From: "Thiago Marcos P. Santos" Date: Wed, 21 Jun 2017 20:54:20 +0300 Subject: [core] Removed unused methods No longer needed after refactoring ::setResourceTransform. --- include/mbgl/util/run_loop.hpp | 9 --------- 1 file changed, 9 deletions(-) (limited to 'include/mbgl/util/run_loop.hpp') 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(task); } - // Invoke fn(args...) on this RunLoop, then invoke callback(results...) on the current RunLoop. - template - std::unique_ptr - invokeWithCallback(Fn&& fn, Args&&... args) { - std::shared_ptr task = WorkTask::makeWithCallback(std::forward(fn), std::forward(args)...); - push(task); - return std::make_unique(task); - } - class Impl; private: -- cgit v1.2.1