summaryrefslogtreecommitdiffstats
path: root/googlemock/test/gmock-nice-strict_test.cc
diff options
context:
space:
mode:
authorGennadiy Civil <gennadiycivil@users.noreply.github.com>2017-08-20 19:20:13 (GMT)
committerGitHub <noreply@github.com>2017-08-20 19:20:13 (GMT)
commit3cf65b5d86d46cceb96ac44672fad84e2d5ad5a7 (patch)
tree8ec1261baea83f8ba24496a040b4411754b65d57 /googlemock/test/gmock-nice-strict_test.cc
parent026735daf34cf180e34a976b3167cc4b311e3f11 (diff)
downloadgoogletest-3cf65b5d86d46cceb96ac44672fad84e2d5ad5a7.zip
googletest-3cf65b5d86d46cceb96ac44672fad84e2d5ad5a7.tar.gz
googletest-3cf65b5d86d46cceb96ac44672fad84e2d5ad5a7.tar.bz2
Added "explicit" as per compiler suggestion
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 2cb0a96..fce9ca5 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.