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/support/path.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/support/path.h')
-rw-r--r-- | src/support/path.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/support/path.h b/src/support/path.h index e9f675142..78e85ca5c 100644 --- a/src/support/path.h +++ b/src/support/path.h @@ -24,9 +24,7 @@ #include <cstdlib> #include <string> -namespace wasm { - -namespace Path { +namespace wasm::Path { char getPathSeparator(); std::string getDirName(const std::string& path); @@ -44,8 +42,6 @@ void setBinaryenBinDir(const std::string& dir); // Gets the path to a binaryen binary tool, like wasm-opt. std::string getBinaryenBinaryTool(const std::string& name); -} // namespace Path - -} // namespace wasm +} // namespace wasm::Path #endif // wasm_support_path_h |