aboutsummaryrefslogtreecommitdiffstats
path: root/googlemock
diff options
context:
space:
mode:
authorGennadiy Civil <gennadiycivil@users.noreply.github.com>2017-08-20 15:20:13 -0400
committerGitHub <noreply@github.com>2017-08-20 15:20:13 -0400
commit3cf65b5d86d46cceb96ac44672fad84e2d5ad5a7 (patch)
tree8ec1261baea83f8ba24496a040b4411754b65d57 /googlemock
parent026735daf34cf180e34a976b3167cc4b311e3f11 (diff)
downloadgoogletest-3cf65b5d86d46cceb96ac44672fad84e2d5ad5a7.tar.gz
googletest-3cf65b5d86d46cceb96ac44672fad84e2d5ad5a7.tar.bz2
googletest-3cf65b5d86d46cceb96ac44672fad84e2d5ad5a7.zip
Added "explicit" as per compiler suggestion
Diffstat (limited to 'googlemock')
-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.