summaryrefslogtreecommitdiffstats
path: root/googlemock
diff options
context:
space:
mode:
authorGennadiy Civil <misterg@google.com>2018-04-04 18:48:06 (GMT)
committerGennadiy Civil <misterg@google.com>2018-04-04 18:48:06 (GMT)
commitaa14cc42858a7aec2605b27e0a221e9a4dac8921 (patch)
tree3dc79270022ca17bdae2e39aeccc6a9f1f93f1a8 /googlemock
parent0f790fa5a8c79228dd1cfaf9d1cc75a732233c93 (diff)
downloadgoogletest-aa14cc42858a7aec2605b27e0a221e9a4dac8921.zip
googletest-aa14cc42858a7aec2605b27e0a221e9a4dac8921.tar.gz
googletest-aa14cc42858a7aec2605b27e0a221e9a4dac8921.tar.bz2
Fixing build break on MSVC
Diffstat (limited to 'googlemock')
-rw-r--r--googlemock/test/gmock-matchers_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/googlemock/test/gmock-matchers_test.cc b/googlemock/test/gmock-matchers_test.cc
index cc16134..f2ce8f2 100644
--- a/googlemock/test/gmock-matchers_test.cc
+++ b/googlemock/test/gmock-matchers_test.cc
@@ -696,7 +696,7 @@ TEST(MatcherCastTest, FromSameType) {
struct ConvertibleFromAny {
ConvertibleFromAny(int a_value) : value(a_value) {}
template <typename T>
- ConvertibleFromAny(const T& /*a_value*/) : value(-1) {
+explicit ConvertibleFromAny(const T& /*a_value*/) : value(-1) {
ADD_FAILURE() << "Conversion constructor called";
}
int value;