We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 487cf1b commit 79981b5Copy full SHA for 79981b5
src/tree.h
@@ -53,13 +53,11 @@ struct Tree {
53
54
/** 1st argument is a single object */
55
void makeEntriesArray(const Napi::Object &jsTree, const size_t level, const size_t iEntry) {
56
- // finally emplace it back
+ // make the CandidateObject and push it back
57
entriesArray.emplace_back(
58
- // then make the CandidateObject
59
- CandidateObject(
60
- jsTree.Get(dataKey).ToString().Utf8Value(),// first, get the current data
61
- level,
62
- iEntry)
+ jsTree.Get(dataKey).ToString().Utf8Value(),// first, get the current data
+ level,
+ iEntry
63
64
);
65
0 commit comments