aboutsummaryrefslogtreecommitdiffstats
path: root/googlemock/docs
diff options
context:
space:
mode:
Diffstat (limited to 'googlemock/docs')
-rw-r--r--googlemock/docs/cook_book.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/googlemock/docs/cook_book.md b/googlemock/docs/cook_book.md
index 3a3308e0..47e21c19 100644
--- a/googlemock/docs/cook_book.md
+++ b/googlemock/docs/cook_book.md
@@ -3688,10 +3688,10 @@ 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"; }
+ void DescribeNegationTo(std::ostream* os) const { *os << "is NULL"; }
};
// To construct a polymorphic matcher, pass an instance of the class
@@ -3735,7 +3735,7 @@ class CardinalityInterface {
virtual bool IsSaturatedByCallCount(int call_count) const = 0;
// Describes self to an ostream.
- virtual void DescribeTo(::std::ostream* os) const = 0;
+ virtual void DescribeTo(std::ostream* os) const = 0;
};
```
@@ -3757,7 +3757,7 @@ class EvenNumberCardinality : public CardinalityInterface {
return false;
}
- void DescribeTo(::std::ostream* os) const {
+ void DescribeTo(std::ostream* os) const {
*os << "called even number of times";
}
};