Googletest export

Rollback of warning on unused ACTION result change

PiperOrigin-RevId: 313380971
This commit is contained in:
dmauro
2020-05-27 09:54:37 -04:00
committed by Derek Mauro
parent 130ae78b99
commit 8f3854e204
3 changed files with 2 additions and 15 deletions

View File

@@ -1512,7 +1512,6 @@ auto InvokeArgumentAdl(AdlTag, F f, Args... args) -> decltype(f(args...)) {
return_type gmock_PerformImpl(GMOCK_ACTION_ARG_TYPES_AND_NAMES_) const; \
}; \
}; \
inline name##Action name() GTEST_MUST_USE_RESULT_; \
inline name##Action name() { return name##Action(); } \
template <typename F> \
template <GMOCK_ACTION_TEMPLATE_ARGS_NAMES_> \