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
4747 chunk_size++;
4848 }
4949 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 ());
5151 }
5252 cur_start += chunk_size;
5353 }
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ struct Tree {
4141 const auto entriesArrayLength = jsTreeArray.Length ();
4242 entriesArray.reserve (entriesArrayLength); // reserve enough space
4343 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);
4545 }
4646 }
4747
You can’t perform that action at this time.
0 commit comments