aboutsummaryrefslogtreecommitdiffstats
path: root/googlemock
diff options
context:
space:
mode:
authorJoshua Cannon <joshdcannon@gmail.com>2019-10-11 12:37:59 -0500
committerJoshua Cannon <joshdcannon@gmail.com>2019-10-11 12:37:59 -0500
commit3e813465a46bf9f7e590f008274e9f3b1e68fef7 (patch)
tree4b6633dcdd904493b3984375df45d0ccc9934977 /googlemock
parentf8961b99f4c3045d3b99618b9cb9e702770622b8 (diff)
downloadgoogletest-3e813465a46bf9f7e590f008274e9f3b1e68fef7.tar.gz
googletest-3e813465a46bf9f7e590f008274e9f3b1e68fef7.tar.bz2
googletest-3e813465a46bf9f7e590f008274e9f3b1e68fef7.zip
Removing extraneous parenthesis
Diffstat (limited to 'googlemock')
-rw-r--r--googlemock/include/gmock/internal/gmock-pp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/googlemock/include/gmock/internal/gmock-pp.h b/googlemock/include/gmock/internal/gmock-pp.h
index 4298a63e..95fcc28b 100644
--- a/googlemock/include/gmock/internal/gmock-pp.h
+++ b/googlemock/include/gmock/internal/gmock-pp.h
@@ -49,7 +49,7 @@
// Calls CAT(_Macro, NARG(__VA_ARGS__))(__VA_ARGS__)
#define GMOCK_PP_VARIADIC_CALL(_Macro, ...) \
GMOCK_PP_INTERNAL_VARIADIC_CALL( \
- _Macro, GMOCK_PP_NARG(__VA_ARGS__), (__VA_ARGS__))
+ _Macro, GMOCK_PP_NARG(__VA_ARGS__), __VA_ARGS__)
// If the arguments after expansion have no tokens, evaluates to `1`. Otherwise
// evaluates to `0`.