aboutsummaryrefslogtreecommitdiffstats
path: root/googlemock/test/gmock-nice-strict_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'googlemock/test/gmock-nice-strict_test.cc')
-rw-r--r--googlemock/test/gmock-nice-strict_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/googlemock/test/gmock-nice-strict_test.cc b/googlemock/test/gmock-nice-strict_test.cc
index 2cb0a96d..fce9ca5b 100644
--- a/googlemock/test/gmock-nice-strict_test.cc
+++ b/googlemock/test/gmock-nice-strict_test.cc
@@ -65,7 +65,7 @@ using testing::internal::GetCapturedStdout;
// Class without default constructor.
class NotDefaultConstructible {
public:
- NotDefaultConstructible(int) {}
+ explicit NotDefaultConstructible(int) {}
};
// Defines some mock classes needed by the tests.