From 030234c7a6c7f6c5a901dab68591c9cfb2d4828f Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Sat, 3 Sep 2016 13:28:55 -0700 Subject: [core] Rework invokeWithCallback so that the callback is last --- include/mbgl/util/work_task.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/mbgl/util/work_task.hpp') diff --git a/include/mbgl/util/work_task.hpp b/include/mbgl/util/work_task.hpp index e9c2062d9c..dda8e5d00f 100644 --- a/include/mbgl/util/work_task.hpp +++ b/include/mbgl/util/work_task.hpp @@ -17,10 +17,10 @@ public: virtual void cancel() = 0; template - static std::shared_ptr make(Fn&& fn, Args&&... args); + static std::shared_ptr make(Fn&&, Args&&...); - template - static std::shared_ptr makeWithCallback(Fn&& fn, Cb&& callback, Args&&... args); + template + static std::shared_ptr makeWithCallback(Fn&&, Args&&...); }; } // namespace mbgl -- cgit v1.2.1