Commit 2d6d7a01 authored by durandal's avatar durandal Committed by Andy Getz
Browse files

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
parent fbf67a70
...@@ -80,7 +80,7 @@ ...@@ -80,7 +80,7 @@
}\ }\
};\ };\
};\ };\
inline name##Matcher name() {\ GTEST_ATTRIBUTE_UNUSED_ inline name##Matcher name() {\
return name##Matcher();\ return name##Matcher();\
}\ }\
template <typename arg_type>\ template <typename arg_type>\
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment