summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/gmock_cook_book.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/gmock_cook_book.md b/docs/gmock_cook_book.md
index b7d9f44..3707d81 100644
--- a/docs/gmock_cook_book.md
+++ b/docs/gmock_cook_book.md
@@ -3584,6 +3584,8 @@ using ::testing::Matcher;
class DivisibleBy7Matcher {
public:
+ using is_gtest_matcher = void;
+
bool MatchAndExplain(int n, std::ostream*) const {
return (n % 7) == 0;
}