diff options
author | David Sunderland <sunderland@google.com> | 2018-04-18 23:37:33 (GMT) |
---|---|---|
committer | David Sunderland <sunderland@google.com> | 2018-04-18 23:37:33 (GMT) |
commit | f6551f2d45387d42dbdd5742cf2284b8d616f0b8 (patch) | |
tree | 81905d5727c829716294c4d3316bdd36a22f6839 | |
parent | f437f8ca0d4d13d6b1b6279ee40dc61121873a94 (diff) | |
download | googletest-f6551f2d45387d42dbdd5742cf2284b8d616f0b8.zip googletest-f6551f2d45387d42dbdd5742cf2284b8d616f0b8.tar.gz googletest-f6551f2d45387d42dbdd5742cf2284b8d616f0b8.tar.bz2 |
Don't use generalized initializer list; is C++11 extension.
-rw-r--r-- | googlemock/src/gmock-internal-utils.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/googlemock/src/gmock-internal-utils.cc b/googlemock/src/gmock-internal-utils.cc index aeff800..ce75a5f 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( |