From 749cc8a49371fefc701bb049faf6bdb821203dcb Mon Sep 17 00:00:00 2001 From: kwiberg Date: Thu, 13 Apr 2017 06:50:16 -0700 Subject: [PATCH] Don't add stuff to namespace std The compiler is allowed to leave a chopped-off horse's head on your bed if you do. Happily, we didn't even have to move this function to another namespace, since it was unused. BUG=webrtc:7484 Review-Url: https://codereview.webrtc.org/2815203002 Cr-Commit-Position: refs/heads/master@{#17696} --- webrtc/media/base/videoengine_unittest.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/webrtc/media/base/videoengine_unittest.h b/webrtc/media/base/videoengine_unittest.h index 7758c1e4ad..ac430b2ede 100644 --- a/webrtc/media/base/videoengine_unittest.h +++ b/webrtc/media/base/videoengine_unittest.h @@ -59,14 +59,6 @@ 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) { - s << "{" << c.name << "(" << c.id << ")" - << "}"; - return s; -} -} // namespace std - template class VideoMediaChannelTest : public testing::Test, public sigslot::has_slots<> {