aboutsummaryrefslogtreecommitdiffstats
path: root/googlemock/src
diff options
context:
space:
mode:
authorDavid Sunderland <sunderland@google.com>2018-04-18 19:37:33 -0400
committerDavid Sunderland <sunderland@google.com>2018-04-18 19:37:33 -0400
commitf6551f2d45387d42dbdd5742cf2284b8d616f0b8 (patch)
tree81905d5727c829716294c4d3316bdd36a22f6839 /googlemock/src
parentf437f8ca0d4d13d6b1b6279ee40dc61121873a94 (diff)
downloadgoogletest-f6551f2d45387d42dbdd5742cf2284b8d616f0b8.tar.gz
googletest-f6551f2d45387d42dbdd5742cf2284b8d616f0b8.tar.bz2
googletest-f6551f2d45387d42dbdd5742cf2284b8d616f0b8.zip
Don't use generalized initializer list; is C++11 extension.
Diffstat (limited to 'googlemock/src')
-rw-r--r--googlemock/src/gmock-internal-utils.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/googlemock/src/gmock-internal-utils.cc b/googlemock/src/gmock-internal-utils.cc
index aeff8004..ce75a5f6 100644
--- a/googlemock/src/gmock-internal-utils.cc
+++ b/googlemock/src/gmock-internal-utils.cc
@@ -188,7 +188,7 @@ GTEST_API_ void Log(LogSeverity severity, const std::string& message,
std::cout << ::std::flush;
}
-WithoutMatchers GetWithoutMatchers() { return {}; }
+WithoutMatchers GetWithoutMatchers() { return WithoutMatchers(); }
GTEST_API_ void IllegalDoDefault(const char* file, int line) {
internal::Assert(