Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
[TDF] Use a meaningful name for the commented out function parameter
  • Loading branch information
bluehood authored and eguiraud committed Jun 2, 2017
commit acc61030178af130ca2ac59d80803d98b2ca2238
4 changes: 2 additions & 2 deletions tree/treeplayer/inc/ROOT/TDFInterface.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -1092,7 +1092,7 @@ protected:

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

auto initLambda = [&t] (TTreeReader *r, unsigned int /* unused */) {
auto initLambda = [&t] (TTreeReader *r, unsigned int /* slot */) {
if(r) {
// not an empty-source TDF
auto tree = r->GetTree();
Expand Down