Nest some more namespaces
Did someone previously suggest that all namespace had been
nested? Silly.
Signed-off-by: Stephan Pleines <pleines.stephan@gmail.com>
Change-Id: I22278c1caaeba8b47dc46fb2ed3078c20a11e190
diff --git a/aos/logging/dynamic_logging.h b/aos/logging/dynamic_logging.h
index 0dfd181..e3d3a6f 100644
--- a/aos/logging/dynamic_logging.h
+++ b/aos/logging/dynamic_logging.h
@@ -9,8 +9,7 @@
// and make changes to the log level of the current application based on that
// message. Currently the only supported command is changing the global vlog
// level.
-namespace aos {
-namespace logging {
+namespace aos::logging {
class DynamicLogging {
public:
@@ -23,5 +22,4 @@
DISALLOW_COPY_AND_ASSIGN(DynamicLogging);
};
-} // namespace logging
-} // namespace aos
+} // namespace aos::logging
diff --git a/aos/logging/log_namer.h b/aos/logging/log_namer.h
index a993d31..0c32d5d 100644
--- a/aos/logging/log_namer.h
+++ b/aos/logging/log_namer.h
@@ -4,8 +4,7 @@
#include <optional>
#include <string>
-namespace aos {
-namespace logging {
+namespace aos::logging {
// Returns the correct filename to log to, blocking until the usb drive
// filesystem mounts, incrementing the number on the end of the filename, and
// setting up a symlink at basename-current.
@@ -19,7 +18,6 @@
// the usb drive.
std::optional<std::string> MaybeGetLogName(const char *basename);
-} // namespace logging
-} // namespace aos
+} // namespace aos::logging
#endif // AOS_LOGGING_LOG_NAMER_H_