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/ir/module-splitting.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'src/ir/module-splitting.h') diff --git a/src/ir/module-splitting.h b/src/ir/module-splitting.h index cfbd45b14..2cc6760c0 100644 --- a/src/ir/module-splitting.h +++ b/src/ir/module-splitting.h @@ -42,9 +42,7 @@ #include "wasm.h" -namespace wasm { - -namespace ModuleSplitting { +namespace wasm::ModuleSplitting { struct Config { // The set of functions to keep in the primary module. All others are split @@ -76,8 +74,6 @@ struct Results { // Returns the new secondary module and modifies the `primary` module in place. Results splitFunctions(Module& primary, const Config& config); -} // namespace ModuleSplitting - -} // namespace wasm +} // namespace wasm::ModuleSplitting #endif // wasm_ir_module_splitting_h -- cgit v1.2.3