projects
/
folly.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Mark two implicit ctors as explicit
[folly.git]
/
folly
/
test
/
DeterministicScheduleTest.cpp
diff --git
a/folly/test/DeterministicScheduleTest.cpp
b/folly/test/DeterministicScheduleTest.cpp
index 331e42e3e9ea77f5c56b8d9b00a6fbefdbb86893..f494ad37618ca76fae9b139c9a2066ee49577ee2 100644
(file)
--- a/
folly/test/DeterministicScheduleTest.cpp
+++ b/
folly/test/DeterministicScheduleTest.cpp
@@
-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) */