File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ Napi::Value Fuzzaldrin::setArrayFiltererCandidates(const Napi::CallbackInfo &inf
47
47
chunk_size++;
48
48
}
49
49
for (auto j = cur_start; j < cur_start + chunk_size; j++) {
50
- candidates_[i].emplace_back (static_cast <Napi::Value>( candidates[j] ).ToString ().Utf8Value ());
50
+ candidates_[i].emplace_back (candidates. Get (j ).ToString ().Utf8Value ());
51
51
}
52
52
cur_start += chunk_size;
53
53
}
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ struct Tree {
41
41
const auto entriesArrayLength = jsTreeArray.Length ();
42
42
entriesArray.reserve (entriesArrayLength); // reserve enough space
43
43
for (auto iEntry = 0u ; iEntry < entriesArrayLength; iEntry++) {
44
- makeEntriesArray (jsTreeArray[ iEntry] .As <Napi::Object>(), level, iEntry);
44
+ makeEntriesArray (jsTreeArray. Get ( iEntry) .As <Napi::Object>(), level, iEntry);
45
45
}
46
46
}
47
47
You can’t perform that action at this time.
0 commit comments