File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 30
30
#include " wasm-api/wasm.hh"
31
31
32
32
namespace proxy_wasm {
33
- namespace {
33
+ namespace v8 {
34
34
35
35
wasm::Engine *engine () {
36
36
static std::once_flag init;
37
37
static wasm::own<wasm::Engine> engine;
38
38
39
39
std::call_once (init, []() {
40
- v8::V8::EnableWebAssemblyTrapHandler (true );
40
+ :: v8::V8::EnableWebAssemblyTrapHandler (true );
41
41
engine = wasm::Engine::make ();
42
42
});
43
43
@@ -688,8 +688,8 @@ std::string V8::getFailMessage(std::string_view function_name, wasm::own<wasm::T
688
688
return message;
689
689
}
690
690
691
- } // namespace
691
+ } // namespace v8
692
692
693
- std::unique_ptr<WasmVm> createV8Vm () { return std::make_unique<V8>(); }
693
+ std::unique_ptr<WasmVm> createV8Vm () { return std::make_unique<v8:: V8>(); }
694
694
695
695
} // namespace proxy_wasm
You can’t perform that action at this time.
0 commit comments