folly: build with -Wunused-parameter
[folly.git] / folly / futures / test / ExecutorTest.cpp
index 0f0fe183a4290114bc7628b17f175b85979c1214..99d1ba9c0af885b56b965ae7f1e07e43a1e9b468 100644 (file)
@@ -170,9 +170,7 @@ TEST(Executor, ThrowableThen) {
 
 class CrappyExecutor : public Executor {
  public:
-  void add(Func f) override {
-    throw std::runtime_error("bad");
-  }
+  void add(Func /* f */) override { throw std::runtime_error("bad"); }
 };
 
 TEST(Executor, CrappyExecutor) {