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

Unified Diff: webrtc/media/base/videoengine_unittest.h

Issue 2815203002: Don't add stuff to namespace std (Closed)
Patch Set: Created 3 years, 8 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/media/base/videoengine_unittest.h
diff --git a/webrtc/media/base/videoengine_unittest.h b/webrtc/media/base/videoengine_unittest.h
index 7758c1e4add34bcd8f385f5ecf6599b112903ba5..90d727ec59984122d854a1cfa9e2cac58cbb4597 100644
--- a/webrtc/media/base/videoengine_unittest.h
+++ b/webrtc/media/base/videoengine_unittest.h
@@ -59,13 +59,13 @@ inline bool IsEqualCodec(const cricket::VideoCodec& a,
return a.id == b.id && a.name == b.name;
}
-namespace std {
-inline std::ostream& operator<<(std::ostream& s, const cricket::VideoCodec& c) {
+namespace cricket {
+inline std::ostream& operator<<(std::ostream& s, const VideoCodec& c) {
magjed_webrtc 2017/04/13 09:56:02 This function is not used so just remove it instea
kwiberg-webrtc 2017/04/13 11:22:31 Done.
s << "{" << c.name << "(" << c.id << ")"
<< "}";
return s;
}
-} // namespace std
+} // namespace cricket
template<class E, class C>
class VideoMediaChannelTest : public testing::Test,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698