From dd2bf597587ebfcbee29dbb27b429d447df76f4f Mon Sep 17 00:00:00 2001 From: Ezekiel Warren Date: Fri, 22 Sep 2023 14:47:41 -0700 Subject: [PATCH] chore: formatting --- ecsact/wasm/detail/cpp_util.hh | 1 + ecsact/wasm/detail/guest_imports.hh | 2 +- ecsact/wasm/detail/mem_stack.hh | 2 +- ecsact/wasm/detail/wasi_fs.hh | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/ecsact/wasm/detail/cpp_util.hh b/ecsact/wasm/detail/cpp_util.hh index 1db6dbc..002e3e9 100644 --- a/ecsact/wasm/detail/cpp_util.hh +++ b/ecsact/wasm/detail/cpp_util.hh @@ -29,5 +29,6 @@ template struct overloaded : Ts... { using Ts::operator()...; }; + template overloaded(Ts...) -> overloaded; diff --git a/ecsact/wasm/detail/guest_imports.hh b/ecsact/wasm/detail/guest_imports.hh index 2c1e3f1..486f81d 100644 --- a/ecsact/wasm/detail/guest_imports.hh +++ b/ecsact/wasm/detail/guest_imports.hh @@ -14,4 +14,4 @@ using allowed_guest_imports_t = std::unordered_map< using allowed_guest_modules_t = std::unordered_map< std::string_view, // Module name allowed_guest_imports_t>; -} // namespace ecsactsi_wasm::detail +} // namespace ecsact::wasm::detail diff --git a/ecsact/wasm/detail/mem_stack.hh b/ecsact/wasm/detail/mem_stack.hh index 547bf8e..00d548f 100644 --- a/ecsact/wasm/detail/mem_stack.hh +++ b/ecsact/wasm/detail/mem_stack.hh @@ -44,4 +44,4 @@ template auto call_mem_replace(std::int32_t offset, T value) -> void { call_mem_read(offset, typeid(T)) = value; } -} // namespace ecsactsi_wasm::detail +} // namespace ecsact::wasm::detail diff --git a/ecsact/wasm/detail/wasi_fs.hh b/ecsact/wasm/detail/wasi_fs.hh index 47370b4..50cfa58 100644 --- a/ecsact/wasm/detail/wasi_fs.hh +++ b/ecsact/wasm/detail/wasi_fs.hh @@ -17,4 +17,4 @@ auto fdstat(int32_t fd) -> ecsactsi_wasi_fdstat_t; auto fdstat(std::string_view virtual_path) -> ecsactsi_wasi_fdstat_t; auto ensure_open(int32_t pseudo_fd) -> std::FILE*; auto close(int32_t pseudo_fd) -> void; -} // namespace ecsactsi_wasi::detail::fs +} // namespace ecsact::wasm::detail::wasi::fs