Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(925)

Unified Diff: base/logging.cc

Issue 367063006: Move logging.h's definitions of operator<< into namespace std. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: base/logging.cc
diff --git a/base/logging.cc b/base/logging.cc
index b2938f3114479896b603ebbd9d50f770cd007074..8f75aa07057e8488abc058d33a195a972babfdfc 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));
}
« base/logging.h ('K') | « base/logging.h ('k') | base/logging_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698