mirror of
https://github.com/google/googletest.git
synced 2025-01-14 00:20:57 +08:00
Googletest export
Tag the function generated by MATCHER with GTEST_ATTRIBUTE_UNUSED_ to fix CI builds of gmock-matchers_test.cc vs. -Wunused-function. See https://github.com/google/googletest/pull/2697 for breakage. PiperOrigin-RevId: 293669752
This commit is contained in:
parent
fbf67a70d0
commit
2d6d7a01c9
@ -80,7 +80,7 @@
|
||||
}\
|
||||
};\
|
||||
};\
|
||||
inline name##Matcher name() {\
|
||||
GTEST_ATTRIBUTE_UNUSED_ inline name##Matcher name() {\
|
||||
return name##Matcher();\
|
||||
}\
|
||||
template <typename arg_type>\
|
||||
|
Loading…
x
Reference in New Issue
Block a user