Silence compiler warnings in ThreadPoolInterface.h.

This commit is contained in:
Rasmus Munk Larsen 2018-09-19 11:11:04 -07:00
parent 82772e8d9d
commit febd09dcc0

View File

@ -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<void()> fn, int start,
int end) {
virtual void ScheduleWithHint(std::function<void()> fn, int /*start*/,
int /*end*/) {
// Just defer to Schedule in case sub-classes aren't interested in
// overriding this functionality.
Schedule(fn);