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 95cae7a commit c69892eCopy full SHA for c69892e
src/tree.h
@@ -52,7 +52,7 @@ struct Tree {
52
}
53
54
/** 1st argument is a single object */
55
- void makeEntriesArray(const Napi::Object &jsTree, const size_t level, const size_t iEntry = -1) {
+ void makeEntriesArray(const Napi::Object &jsTree, const size_t level, const size_t iEntry) {
56
// get the current data
57
const auto data = jsTree.Get(dataKey).ToString().Utf8Value();
58
entriesArray.emplace_back(CandidateObject(data, level, iEntry));
0 commit comments