summaryrefslogtreecommitdiff
path: root/include/mbgl/util/work_task.hpp
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2016-09-03 13:28:55 -0700
committerJohn Firebaugh <john.firebaugh@gmail.com>2016-09-08 16:36:47 -0700
commit030234c7a6c7f6c5a901dab68591c9cfb2d4828f (patch)
tree669e831aecdd9cd74173cb93088b13979887e81e /include/mbgl/util/work_task.hpp
parente4995e8d3a38dfd2ed64337e712ecf701af37454 (diff)
downloadqtlocation-mapboxgl-030234c7a6c7f6c5a901dab68591c9cfb2d4828f.tar.gz
[core] Rework invokeWithCallback so that the callback is last
Diffstat (limited to 'include/mbgl/util/work_task.hpp')
-rw-r--r--include/mbgl/util/work_task.hpp6
1 files changed, 3 insertions, 3 deletions
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 <class Fn, class... Args>
- static std::shared_ptr<WorkTask> make(Fn&& fn, Args&&... args);
+ static std::shared_ptr<WorkTask> make(Fn&&, Args&&...);
- template <class Fn, class Cb, class... Args>
- static std::shared_ptr<WorkTask> makeWithCallback(Fn&& fn, Cb&& callback, Args&&... args);
+ template <class Fn, class... Args>
+ static std::shared_ptr<WorkTask> makeWithCallback(Fn&&, Args&&...);
};
} // namespace mbgl