Fix some copyright lines in folly/detail/ and folly/test/
[folly.git] / folly / test / DeterministicScheduleTest.cpp
index 2dc67e532d0ee3931352bd4bdaa72a71e74e674e..a5a800cb3b4333283c23c924ccda98647754c1bd 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2016 Facebook, Inc.
+ * Copyright 2013-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.
@@ -104,7 +104,7 @@ TEST(DeterministicSchedule, buggyAdd) {
       }
     }
   } // for bug
-} // TEST
+}
 
 /// Test DSched support for auxiliary data and global invariants
 ///
@@ -316,7 +316,7 @@ struct AnnotatedAtomicCounter : public Base<T> {
   }
 
   /* Constructor -- calls original constructor */
-  AnnotatedAtomicCounter(int val) : Base<T>(val) {}
+  explicit AnnotatedAtomicCounter(int val) : Base<T>(val) {}
 
   /* Overloads of original member functions (as needed) */