From febd09dcc02c1429cd4abd3ddb3ed5108fcd8339 Mon Sep 17 00:00:00 2001 From: Rasmus Munk Larsen Date: Wed, 19 Sep 2018 11:11:04 -0700 Subject: [PATCH] Silence compiler warnings in ThreadPoolInterface.h. --- unsupported/Eigen/CXX11/src/ThreadPool/ThreadPoolInterface.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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);