summaryrefslogtreecommitdiff
path: root/src/ir/flat.h
diff options
context:
space:
mode:
authorMax Graey <maxgraey@gmail.com>2021-11-23 07:03:25 +0200
committerGitHub <noreply@github.com>2021-11-22 21:03:25 -0800
commit7f24fce21a92f2aed4a11745d27d5181798ba6cd (patch)
tree80655dc933e3c2ae3ae53b7960cd71a6a022c3da /src/ir/flat.h
parent37999167bb333dd0b12d744af8e633897e65cff8 (diff)
downloadbinaryen-7f24fce21a92f2aed4a11745d27d5181798ba6cd.tar.gz
binaryen-7f24fce21a92f2aed4a11745d27d5181798ba6cd.tar.bz2
binaryen-7f24fce21a92f2aed4a11745d27d5181798ba6cd.zip
Modernize code to C++17 (#3104)
Diffstat (limited to 'src/ir/flat.h')
-rw-r--r--src/ir/flat.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/ir/flat.h b/src/ir/flat.h
index 273acc42f..37b5dfb15 100644
--- a/src/ir/flat.h
+++ b/src/ir/flat.h
@@ -67,9 +67,7 @@
#include "pass.h"
#include "wasm-traversal.h"
-namespace wasm {
-
-namespace Flat {
+namespace wasm::Flat {
inline void verifyFlatness(Function* func) {
struct VerifyFlatness
@@ -127,8 +125,6 @@ inline void verifyFlatness(Module* module) {
VerifyFlatness().run(&runner, module);
}
-} // namespace Flat
-
-} // namespace wasm
+} // namespace wasm::Flat
#endif // wasm_ir_flat_h