Googletest export
Remove unnecessary full qualifications from std types. PiperOrigin-RevId: 270101485
This commit is contained in:
parent
c78ea26f20
commit
076c46198f
@ -66,7 +66,7 @@ addons:
|
||||
packages:
|
||||
- ccache
|
||||
- gcc@4.9
|
||||
- llvm@4
|
||||
- llvm@3.9
|
||||
update: true
|
||||
|
||||
notifications:
|
||||
|
@ -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";
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user