diff options
author | Abseil Team <absl-team@google.com> | 2020-07-01 19:40:49 (GMT) |
---|---|---|
committer | Derek Mauro <dmauro@google.com> | 2020-07-05 20:25:43 (GMT) |
commit | 356f2d264a485db2fcc50ec1c672e0d37b6cb39b (patch) | |
tree | 7910915a61e599aeeffc14e018c4bd49e699b834 | |
parent | aee0f9d9b5b87796ee8a0ab26b7587ec30e8858e (diff) | |
download | googletest-356f2d264a485db2fcc50ec1c672e0d37b6cb39b.zip googletest-356f2d264a485db2fcc50ec1c672e0d37b6cb39b.tar.gz googletest-356f2d264a485db2fcc50ec1c672e0d37b6cb39b.tar.bz2 |
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
-rw-r--r-- | googlemock/include/gmock/gmock-function-mocker.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/googlemock/include/gmock/gmock-function-mocker.h b/googlemock/include/gmock/gmock-function-mocker.h index 317d6c2..7140a28 100644 --- a/googlemock/include/gmock/gmock-function-mocker.h +++ b/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 |