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/support/path.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'src/support/path.h') 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 #include -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 -- cgit v1.2.3