getVia() and waitVia()
[folly.git] / folly / futures / ScheduledExecutor.h
index a3f6dedbae65a58c0ede209fecff3ea0495410e7..5d15e84c9d9da24fd594a8d85b8c7acdc1ef702c 100644 (file)
@@ -23,7 +23,7 @@
 
 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.