Skip to content

Commit c69892e

Browse files
committed
chore: remove excess parameter default value
1 parent 95cae7a commit c69892e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tree.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ struct Tree {
5252
}
5353

5454
/** 1st argument is a single object */
55-
void makeEntriesArray(const Napi::Object &jsTree, const size_t level, const size_t iEntry = -1) {
55+
void makeEntriesArray(const Napi::Object &jsTree, const size_t level, const size_t iEntry) {
5656
// get the current data
5757
const auto data = jsTree.Get(dataKey).ToString().Utf8Value();
5858
entriesArray.emplace_back(CandidateObject(data, level, iEntry));

0 commit comments

Comments
 (0)