diff --git a/ecsact/wasm/detail/globals.cc b/ecsact/wasm/detail/globals.cc index 3802308..19ae7f8 100644 --- a/ecsact/wasm/detail/globals.cc +++ b/ecsact/wasm/detail/globals.cc @@ -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; } diff --git a/ecsact/wasm/detail/globals.hh b/ecsact/wasm/detail/globals.hh index 3aeda87..090bc06 100644 --- a/ecsact/wasm/detail/globals.hh +++ b/ecsact/wasm/detail/globals.hh @@ -3,5 +3,5 @@ #include namespace ecsact::wasm::detail { - auto engine() -> wasm_engine_t*; +auto engine() -> wasm_engine_t*; }