remove g++ 3.3 workaround: using on operator<<

This commit is contained in:
Krystian Kuzniarek 2019-11-22 16:41:24 +01:00
parent f9665846e4
commit 2241be0c3f

View File

@ -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 // 7.3.4-1 [namespace.udir]. This allows us to fall back onto
// testing::internal2::operator<< in case T doesn't come with a << // testing::internal2::operator<< in case T doesn't come with a <<
// operator. // operator.
//
// We cannot write 'using ::testing::internal2::operator<<;', which using ::testing::internal2::operator<<;
// gcc 3.3 fails to compile due to a compiler bug.
using namespace ::testing::internal2; // NOLINT
// Assuming T is defined in namespace foo, in the next statement, // Assuming T is defined in namespace foo, in the next statement,
// the compiler will consider all of: // the compiler will consider all of: