Condense namespaces in tint/utils.
This PR condenses the namespaces in the tint/utils folder.
Change-Id: I6b541a6383386346a0b11ba46074a5981fe75f66
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/86028
Auto-Submit: Dan Sinclair <dsinclair@chromium.org>
Reviewed-by: Ben Clayton <bclayton@google.com>
Commit-Queue: Dan Sinclair <dsinclair@chromium.org>
diff --git a/src/tint/utils/defer.h b/src/tint/utils/defer.h
index 4be704e..ce586f9 100644
--- a/src/tint/utils/defer.h
+++ b/src/tint/utils/defer.h
@@ -19,8 +19,7 @@
#include "src/tint/utils/concat.h"
-namespace tint {
-namespace utils {
+namespace tint::utils {
/// Defer executes a function or function like object when it is destructed.
template <typename F>
@@ -51,8 +50,7 @@
return Defer<F>(std::forward<F>(f));
}
-} // namespace utils
-} // namespace tint
+} // namespace tint::utils
/// TINT_DEFER(S) executes the statement(s) `S` when exiting the current lexical
/// scope.