mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
test: fix v8 Set/Get compiler warnings
PR-URL: https://github.com/nodejs/node/pull/24246 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Refael Ackermann <refack@gmail.com>
This commit is contained in:
@@ -33,7 +33,8 @@ void CallWithArray(const FunctionCallbackInfo<Value>& args) {
|
||||
uint32_t length = array->Length();
|
||||
for (uint32_t i = 0; i < length; ++ i) {
|
||||
Local<Value> v;
|
||||
v = array->Get(i);
|
||||
v = array->Get(args.GetIsolate()->GetCurrentContext(),
|
||||
i).ToLocalChecked();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user