diff options
author | Max Graey <maxgraey@gmail.com> | 2021-11-23 07:03:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-22 21:03:25 -0800 |
commit | 7f24fce21a92f2aed4a11745d27d5181798ba6cd (patch) | |
tree | 80655dc933e3c2ae3ae53b7960cd71a6a022c3da /src/ir/features.h | |
parent | 37999167bb333dd0b12d744af8e633897e65cff8 (diff) | |
download | binaryen-7f24fce21a92f2aed4a11745d27d5181798ba6cd.tar.gz binaryen-7f24fce21a92f2aed4a11745d27d5181798ba6cd.tar.bz2 binaryen-7f24fce21a92f2aed4a11745d27d5181798ba6cd.zip |
Modernize code to C++17 (#3104)
Diffstat (limited to 'src/ir/features.h')
-rw-r--r-- | src/ir/features.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/ir/features.h b/src/ir/features.h index 791a4dded..3755412c9 100644 --- a/src/ir/features.h +++ b/src/ir/features.h @@ -22,9 +22,7 @@ #include <wasm-traversal.h> #include <wasm.h> -namespace wasm { - -namespace Features { +namespace wasm::Features { inline FeatureSet get(UnaryOp op) { FeatureSet ret; @@ -166,8 +164,6 @@ inline FeatureSet get(BinaryOp op) { return ret; } -} // namespace Features - -} // namespace wasm +} // namespace wasm::Features #endif // wasm_ir_features_h |