Skip to content

Commit 03624ba

Browse files
committed
Fix c++17 Windows
1 parent 536a30b commit 03624ba

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

module.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -418,9 +418,9 @@ void RegisterThread(const FunctionCallbackInfo<Value> &args) {
418418
}
419419

420420
auto store = AsyncLocalStorageLookup{
421-
.async_local_storage = v8::Global<v8::Value>(
422-
isolate, async_local_storage_val.ToLocalChecked()),
423-
.storage_key = std::move(storage_key)};
421+
v8::Global<v8::Value>(isolate,
422+
async_local_storage_val.ToLocalChecked()),
423+
std::move(storage_key)};
424424

425425
RegisterThreadInternal(isolate, thread_name, std::move(store));
426426
} else {

0 commit comments

Comments
 (0)