summaryrefslogtreecommitdiffstats
path: root/googletest/include
diff options
context:
space:
mode:
authorKrystian Kuzniarek <krystian.kuzniarek@gmail.com>2019-11-22 15:41:24 (GMT)
committerKrystian Kuzniarek <krystian.kuzniarek@gmail.com>2019-11-22 16:08:14 (GMT)
commit2241be0c3f2477781c1d9c37b380c1dae1fe37ad (patch)
tree49831f3e987e1a7d7c84005b9ea490ef85fa86ca /googletest/include
parentf9665846e405664bec650d77f9dd236c61a293b0 (diff)
downloadgoogletest-2241be0c3f2477781c1d9c37b380c1dae1fe37ad.zip
googletest-2241be0c3f2477781c1d9c37b380c1dae1fe37ad.tar.gz
googletest-2241be0c3f2477781c1d9c37b380c1dae1fe37ad.tar.bz2
remove g++ 3.3 workaround: using on operator<<refs/pull/2591/head
Diffstat (limited to 'googletest/include')
-rw-r--r--googletest/include/gtest/gtest-printers.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/googletest/include/gtest/gtest-printers.h b/googletest/include/gtest/gtest-printers.h
index 56a0545..c443625 100644
--- a/googletest/include/gtest/gtest-printers.h
+++ b/googletest/include/gtest/gtest-printers.h
@@ -266,10 +266,8 @@ void DefaultPrintNonContainerTo(const T& value, ::std::ostream* os) {
// 7.3.4-1 [namespace.udir]. This allows us to fall back onto
// testing::internal2::operator<< in case T doesn't come with a <<
// operator.
- //
- // We cannot write 'using ::testing::internal2::operator<<;', which
- // gcc 3.3 fails to compile due to a compiler bug.
- using namespace ::testing::internal2; // NOLINT
+
+ using ::testing::internal2::operator<<;
// Assuming T is defined in namespace foo, in the next statement,
// the compiler will consider all of: