/*
- * Copyright 2014 Facebook, Inc.
+ * Copyright 2016 Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
namespace folly {
// An executor that supports timed scheduling. Like RxScheduler.
- class ScheduledExecutor : public Executor {
+ class ScheduledExecutor : public virtual Executor {
public:
// Reality is that better than millisecond resolution is very hard to
// achieve. However, we reserve the right to be incredible.
/// Schedule a Func to be executed at time t, or as soon afterward as
/// possible. Expect millisecond resolution at best. Must be threadsafe.
- virtual void scheduleAt(Func&& a, TimePoint const& t) {
+ virtual void scheduleAt(Func&& /* a */, TimePoint const& /* t */) {
throw std::logic_error("unimplemented");
}