Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
yangql
googletest
Commits
2241be0c
Commit
2241be0c
authored
Nov 22, 2019
by
Krystian Kuzniarek
Browse files
remove g++ 3.3 workaround: using on operator<<
parent
f9665846
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
googletest/include/gtest/gtest-printers.h
googletest/include/gtest/gtest-printers.h
+2
-4
No files found.
googletest/include/gtest/gtest-printers.h
View file @
2241be0c
...
...
@@ -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:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment