aboutsummaryrefslogtreecommitdiffstats
path: root/googlemock/src
diff options
context:
space:
mode:
authorDavid Sunderland <sunderland@google.com>2018-04-18 19:28:56 -0400
committerDavid Sunderland <sunderland@google.com>2018-04-18 19:28:56 -0400
commitf437f8ca0d4d13d6b1b6279ee40dc61121873a94 (patch)
treeb2ebc307c41ed6658d0e1aefa9197e2b4cc5d52d /googlemock/src
parent1f605414cc4137f0ad0cde4d0c7366ff2dfac590 (diff)
downloadgoogletest-f437f8ca0d4d13d6b1b6279ee40dc61121873a94.tar.gz
googletest-f437f8ca0d4d13d6b1b6279ee40dc61121873a94.tar.bz2
googletest-f437f8ca0d4d13d6b1b6279ee40dc61121873a94.zip
Clone of unsubmitted cr/176529515. Introduce parameterless expectations.
Diffstat (limited to 'googlemock/src')
-rw-r--r--googlemock/src/gmock-internal-utils.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/googlemock/src/gmock-internal-utils.cc b/googlemock/src/gmock-internal-utils.cc
index 3fca3f26..aeff8004 100644
--- a/googlemock/src/gmock-internal-utils.cc
+++ b/googlemock/src/gmock-internal-utils.cc
@@ -188,6 +188,8 @@ GTEST_API_ void Log(LogSeverity severity, const std::string& message,
std::cout << ::std::flush;
}
+WithoutMatchers GetWithoutMatchers() { return {}; }
+
GTEST_API_ void IllegalDoDefault(const char* file, int line) {
internal::Assert(
false, file, line,