mirror of
https://github.com/google/googletest.git
synced 2024-12-27 01:55:04 +08:00
Googletest export
Add missing `is_gtest_matcher` to the polymorphic matcher example. PiperOrigin-RevId: 353881883
This commit is contained in:
parent
8a7618672a
commit
273f8cb059
@ -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.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user