diff --git a/unsupported/Eigen/CXX11/src/ThreadPool/ThreadPoolInterface.h b/unsupported/Eigen/CXX11/src/ThreadPool/ThreadPoolInterface.h index d1fa4b23e..25030dc0b 100644 --- a/unsupported/Eigen/CXX11/src/ThreadPool/ThreadPoolInterface.h +++ b/unsupported/Eigen/CXX11/src/ThreadPool/ThreadPoolInterface.h @@ -21,8 +21,8 @@ class ThreadPoolInterface { // Submits a closure to be run by threads in the range [start, end) in the // pool. - virtual void ScheduleWithHint(std::function fn, int start, - int end) { + virtual void ScheduleWithHint(std::function fn, int /*start*/, + int /*end*/) { // Just defer to Schedule in case sub-classes aren't interested in // overriding this functionality. Schedule(fn);