Fix copyright lines
[folly.git] / folly / futures / test / TestExecutor.cpp
index fc57e6de6462ce1928fccfb559f121ffaa1d0366..9f8c0c8f96ccc98fab71fd63c6bacc9780826225 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2017 Facebook, Inc.
+ * Copyright 2017-present Facebook, Inc.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -43,6 +43,7 @@ TestExecutor::TestExecutor(size_t numThreads) {
 
 TestExecutor::~TestExecutor() {
   for (auto& worker : workers_) {
+    (void)worker;
     addImpl({});
   }
 
@@ -69,4 +70,4 @@ void TestExecutor::addImpl(Func f) {
   cv_.notify_one();
 }
 
-} // folly
+} // namespace folly