From 7f24fce21a92f2aed4a11745d27d5181798ba6cd Mon Sep 17 00:00:00 2001 From: Max Graey Date: Tue, 23 Nov 2021 07:03:25 +0200 Subject: Modernize code to C++17 (#3104) --- src/wasm-debug.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'src/wasm-debug.h') diff --git a/src/wasm-debug.h b/src/wasm-debug.h index d5ab337d4..c76afb2a1 100644 --- a/src/wasm-debug.h +++ b/src/wasm-debug.h @@ -26,9 +26,7 @@ #include "pass.h" #include "wasm.h" -namespace wasm { - -namespace Debug { +namespace wasm::Debug { bool isDWARFSection(Name name); @@ -44,9 +42,7 @@ bool shouldPreserveDWARF(PassOptions& options, Module& wasm); // Update the DWARF sections. void writeDWARFSections(Module& wasm, const BinaryLocations& newLocations); -} // namespace Debug - -} // namespace wasm +} // namespace wasm::Debug #undef DEBUG_TYPE -- cgit v1.2.3