summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAbseil Team <absl-team@google.com>2019-09-19 19:39:22 (GMT)
committerGennadiy Civil <misterg@google.com>2019-09-27 20:48:09 (GMT)
commit076c46198fe1cb50160b287e51c72bd7b1194c1a (patch)
tree498e77b8eb3a024d6809b3b872f42291c146c2bf
parentc78ea26f2008e4eed5848feb6b4b154da0c66e06 (diff)
downloadgoogletest-076c46198fe1cb50160b287e51c72bd7b1194c1a.zip
googletest-076c46198fe1cb50160b287e51c72bd7b1194c1a.tar.gz
googletest-076c46198fe1cb50160b287e51c72bd7b1194c1a.tar.bz2
Googletest export
Remove unnecessary full qualifications from std types. PiperOrigin-RevId: 270101485
-rw-r--r--.travis.yml2
-rw-r--r--googlemock/docs/cook_book.md8
2 files changed, 5 insertions, 5 deletions
diff --git a/.travis.yml b/.travis.yml
index 04b51dd..56f7d7c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -66,7 +66,7 @@ addons:
packages:
- ccache
- gcc@4.9
- - llvm@4
+ - llvm@3.9
update: true
notifications:
diff --git a/googlemock/docs/cook_book.md b/googlemock/docs/cook_book.md
index 3a3308e..47e21c1 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";
}
};