diff options
author | Abseil Team <absl-team@google.com> | 2019-09-19 15:39:22 -0400 |
---|---|---|
committer | Gennadiy Civil <misterg@google.com> | 2019-09-27 16:48:09 -0400 |
commit | 076c46198fe1cb50160b287e51c72bd7b1194c1a (patch) | |
tree | 498e77b8eb3a024d6809b3b872f42291c146c2bf /googlemock/docs | |
parent | c78ea26f2008e4eed5848feb6b4b154da0c66e06 (diff) | |
download | googletest-076c46198fe1cb50160b287e51c72bd7b1194c1a.tar.gz googletest-076c46198fe1cb50160b287e51c72bd7b1194c1a.tar.bz2 googletest-076c46198fe1cb50160b287e51c72bd7b1194c1a.zip |
Googletest export
Remove unnecessary full qualifications from std types.
PiperOrigin-RevId: 270101485
Diffstat (limited to 'googlemock/docs')
-rw-r--r-- | googlemock/docs/cook_book.md | 8 |
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"; } }; |