Skip to content

Commit

Permalink
chore: formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
zaucy committed Sep 22, 2023
1 parent b3438b0 commit 43a588c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions ecsact/wasm/detail/globals.cc
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ wasm_engine_t* _engine = nullptr;
}

auto ecsact::wasm::detail::engine() -> wasm_engine_t* {
if(!_engine) {
_engine = wasm_engine_new();
}
return _engine;
if(!_engine) {
_engine = wasm_engine_new();
}
return _engine;
}
2 changes: 1 addition & 1 deletion ecsact/wasm/detail/globals.hh
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
#include <wasm.h>

namespace ecsact::wasm::detail {
auto engine() -> wasm_engine_t*;
auto engine() -> wasm_engine_t*;
}

0 comments on commit 43a588c

Please sign in to comment.