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}
This commit is contained in:
parent
8b9a24e4d6
commit
749cc8a493
@ -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 E, class C>
|
||||
class VideoMediaChannelTest : public testing::Test,
|
||||
public sigslot::has_slots<> {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user