aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--googlemock/include/gmock/gmock-generated-matchers.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/googlemock/include/gmock/gmock-generated-matchers.h b/googlemock/include/gmock/gmock-generated-matchers.h
index c9dc552d..1664f116 100644
--- a/googlemock/include/gmock/gmock-generated-matchers.h
+++ b/googlemock/include/gmock/gmock-generated-matchers.h
@@ -80,7 +80,7 @@
}\
};\
};\
- inline name##Matcher name() {\
+ GTEST_ATTRIBUTE_UNUSED_ inline name##Matcher name() {\
return name##Matcher();\
}\
template <typename arg_type>\