diff options
author | jyasskin@chromium.org <jyasskin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-07-08 23:03:06 +0000 |
---|---|---|
committer | jyasskin@chromium.org <jyasskin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-07-08 23:03:06 +0000 |
commit | 81411c644a7377dd5393568e9afb443f1a919d66 (patch) | |
tree | be18ef84d3e18d69beb1bedc0b0541874e3d1d34 /base/logging.cc | |
parent | 36ffb32be724ad70c378cd3df4cc788c944c3a00 (diff) | |
download | chromium_src-81411c644a7377dd5393568e9afb443f1a919d66.zip chromium_src-81411c644a7377dd5393568e9afb443f1a919d66.tar.gz chromium_src-81411c644a7377dd5393568e9afb443f1a919d66.tar.bz2 |
Move logging.h's definitions of operator<< into namespace std.
See the bug for a more detailed discussion of the problem when we don't make
this accessible through ADL.
BUG=391117
Review URL: https://codereview.chromium.org/367063006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@281864 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/logging.cc')
-rw-r--r-- | base/logging.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/logging.cc b/base/logging.cc index b2938f3..8f75aa0 100644 --- a/base/logging.cc +++ b/base/logging.cc @@ -810,6 +810,6 @@ std::wstring GetLogFileFullPath() { } // namespace logging -std::ostream& operator<<(std::ostream& out, const wchar_t* wstr) { +std::ostream& std::operator<<(std::ostream& out, const wchar_t* wstr) { return out << base::WideToUTF8(std::wstring(wstr)); } |