diff options
Diffstat (limited to 'docs/gmock_cook_book.md')
-rw-r--r-- | docs/gmock_cook_book.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/gmock_cook_book.md b/docs/gmock_cook_book.md index c6a9991..bb3f0bd 100644 --- a/docs/gmock_cook_book.md +++ b/docs/gmock_cook_book.md @@ -3696,7 +3696,7 @@ class NotNullMatcher { } // Describes the property of a value matching this matcher. - void DescribeTo(std::ostream& os) const { *os << "is not NULL"; } + void DescribeTo(std::ostream* os) const { *os << "is not NULL"; } // Describes the property of a value NOT matching this matcher. void DescribeNegationTo(std::ostream* os) const { *os << "is NULL"; } |