Googletest export

Improve compatibility with strict compilers targeting Windows

Remove an unnecessary ##, which could result in warnings about invalid preprocessor tokens when pasting to an initial '('

PiperOrigin-RevId: 319277617
pull/2934/head
Abseil Team 4 years ago committed by Derek Mauro
parent aee0f9d9b5
commit 356f2d264a
  1. 2
      googlemock/include/gmock/gmock-function-mocker.h

@ -234,7 +234,7 @@ using internal::FunctionMocker;
GMOCK_INTERNAL_GET_VALUE_CALLTYPE_I( \
GMOCK_PP_CAT(GMOCK_INTERNAL_IS_CALLTYPE_HELPER_, _arg))
#define GMOCK_INTERNAL_GET_VALUE_CALLTYPE_I(_arg) \
GMOCK_PP_CAT(GMOCK_PP_IDENTITY, _arg)
GMOCK_PP_IDENTITY _arg
#define GMOCK_INTERNAL_IS_CALLTYPE_HELPER_Calltype

Loading…
Cancel
Save