Nest all namespaces
The compiler supports this now. We can type less going forward.
No functional changes.
Signed-off-by: Stephan Pleines <pleines.stephan@gmail.com>
Change-Id: I29d6fa4f9aacc0e381f1a7637294db0392466995
diff --git a/aos/network/sctp_client.cc b/aos/network/sctp_client.cc
index a9567a2..32347fd 100644
--- a/aos/network/sctp_client.cc
+++ b/aos/network/sctp_client.cc
@@ -18,8 +18,7 @@
"Timeout in milliseconds for retrying the INIT packet when "
"connecting to the message bridge server");
-namespace aos {
-namespace message_bridge {
+namespace aos::message_bridge {
SctpClient::SctpClient(std::string_view remote_host, int remote_port,
int streams, std::string_view local_host, int local_port,
@@ -67,5 +66,4 @@
#endif
}
-} // namespace message_bridge
-} // namespace aos
+} // namespace aos::message_bridge