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 b1c92af commit 95cae7aCopy full SHA for 95cae7a
src/tree.h
@@ -27,12 +27,12 @@ std::optional<Napi::Array> getChildren(const Napi::Object &jsTree, const string
27
28
29
struct CandidateObject {
30
- const CandidateString data;// TODO copy
+ const CandidateString data;
31
const size_t level = 0;
32
const size_t index = 0;
33
34
- CandidateObject(const CandidateString data_, const size_t level_, const size_t index_) noexcept
35
- : data{ data_ }, level{ level_ }, index{ index_ } {};
+ CandidateObject(const CandidateString &data_, const size_t level_, const size_t index_) noexcept
+ : data{ data_ }, level{ level_ }, index{ index_ } {}
36
};
37
38
template<typename T>
0 commit comments