Mark two implicit ctors as explicit
[folly.git] / folly / test / DeterministicScheduleTest.cpp
index 331e42e3e9ea77f5c56b8d9b00a6fbefdbb86893..f494ad37618ca76fae9b139c9a2066ee49577ee2 100644 (file)
@@ -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) */