Skip to content

Commit f90103b

Browse files
authored
[TDF] Use a meaningful name for the commented out function parameter
1 parent 9d4326d commit f90103b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tree/treeplayer/inc/ROOT/TDFInterface.hxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1092,7 +1092,7 @@ protected:
10921092

10931093
bool FirstEvent = true;
10941094
// TODO move fillTree and initLambda to SnapshotHelper's body
1095-
auto fillTree = [&t, &bnames, &FirstEvent](unsigned int /* unused */, Args &... args) {
1095+
auto fillTree = [&t, &bnames, &FirstEvent](unsigned int /* slot */, Args &... args) {
10961096
if (FirstEvent) {
10971097
// hack to call TTree::Branch on all variadic template arguments
10981098
std::initializer_list<int> expander = {(t.Branch(bnames[S].c_str(), &args), 0)..., 0};

0 commit comments

Comments
 (0)