commit | e10b163dd477d156122dbb1e2710d9c7e2d73f8b | [log] [tgz] |
---|---|---|
author | Mirko Bonadei <mbonadei@webrtc.org> | Tue Dec 11 18:43:40 2018 +0100 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Dec 12 11:08:40 2018 +0000 |
tree | 281637c9fc4c8c5837f4f985547c85f0c173fed8 | |
parent | cd3929731afd4d25338490f2236f9a635f51bc6b [diff] [blame] |
Stop using 'using namespace'. This CL removes all the instances of 'using namespace' from C++ code (more info https://abseil.io/tips/153). Bug: webrtc:9855 Change-Id: Ic940fe87c5047742cfa6d60857d2f97be380ed18 Reviewed-on: https://webrtc-review.googlesource.com/c/113948 Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org> Cr-Commit-Position: refs/heads/master@{#25985}
diff --git a/rtc_base/testclient_unittest.cc b/rtc_base/testclient_unittest.cc index 742da74..d45a5a3 100644 --- a/rtc_base/testclient_unittest.cc +++ b/rtc_base/testclient_unittest.cc
@@ -23,7 +23,8 @@ #include "rtc_base/thread.h" #include "test/gtest.h" -using namespace rtc; +namespace rtc { +namespace { #define MAYBE_SKIP_IPV4 \ if (!HasIPv4Enabled()) { \ @@ -101,3 +102,6 @@ MAYBE_SKIP_IPV6; TestTcpInternal(SocketAddress("::1", 0)); } + +} // namespace +} // namespace rtc