From 273f8cb059a4e7b089731036392422b5ef489791 Mon Sep 17 00:00:00 2001 From: Abseil Team Date: Tue, 26 Jan 2021 12:25:25 -0500 Subject: [PATCH] Googletest export Add missing `is_gtest_matcher` to the polymorphic matcher example. PiperOrigin-RevId: 353881883 --- docs/gmock_cook_book.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/gmock_cook_book.md b/docs/gmock_cook_book.md index de3464df..208ca9a6 100644 --- a/docs/gmock_cook_book.md +++ b/docs/gmock_cook_book.md @@ -3627,6 +3627,8 @@ as adding templates in the right place. class NotNullMatcher { public: + using is_gtest_matcher = void; + // To implement a polymorphic matcher, we just need to make MatchAndExplain a // template on its first argument.