Googletest export
Silence C4100 msvc warning PiperOrigin-RevId: 222242329
This commit is contained in:
parent
b492666068
commit
bb7c0ecbdf
@ -54,6 +54,11 @@
|
|||||||
#include <type_traits>
|
#include <type_traits>
|
||||||
#endif // GTEST_LANG_CXX11
|
#endif // GTEST_LANG_CXX11
|
||||||
|
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
# pragma warning(push)
|
||||||
|
# pragma warning(disable:4100)
|
||||||
|
#endif
|
||||||
|
|
||||||
namespace testing {
|
namespace testing {
|
||||||
|
|
||||||
// To implement an action Foo, define:
|
// To implement an action Foo, define:
|
||||||
@ -1308,4 +1313,9 @@ inline internal::ReferenceWrapper<T> ByRef(T& l_value) { // NOLINT
|
|||||||
|
|
||||||
} // namespace testing
|
} // namespace testing
|
||||||
|
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
# pragma warning(pop)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#endif // GMOCK_INCLUDE_GMOCK_GMOCK_ACTIONS_H_
|
#endif // GMOCK_INCLUDE_GMOCK_GMOCK_ACTIONS_H_
|
||||||
|
Loading…
Reference in New Issue
Block a user