From e8364286685ec5dcc41f64d4904b0a29315d65a4 Mon Sep 17 00:00:00 2001 From: Enrico Guiraud <enrico.guiraud@cern.ch> Date: Thu, 15 Apr 2021 12:34:21 +0200 Subject: [PATCH] [DF][NFC] Fix typo in comment --- tree/dataframe/src/RLoopManager.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tree/dataframe/src/RLoopManager.cxx b/tree/dataframe/src/RLoopManager.cxx index 9dfee998032..1d4edda7466 100644 --- a/tree/dataframe/src/RLoopManager.cxx +++ b/tree/dataframe/src/RLoopManager.cxx @@ -74,7 +74,6 @@ static bool ContainsLeaf(const std::set<TLeaf *> &leaves, TLeaf *leaf) static void UpdateList(std::set<std::string> &bNamesReg, ColumnNames_t &bNames, const std::string &branchName, const std::string &friendName) { - if (!friendName.empty()) { // In case of a friend tree, users might prepend its name/alias to the branch names const auto friendBName = friendName + "." + branchName; @@ -87,7 +86,7 @@ static void UpdateList(std::set<std::string> &bNamesReg, ColumnNames_t &bNames, } /////////////////////////////////////////////////////////////////////////////// -/// This overloads makes sure that the TLeaf has not been already inserted. +/// This overload makes sure that the TLeaf has not been already inserted. static void UpdateList(std::set<std::string> &bNamesReg, ColumnNames_t &bNames, const std::string &branchName, const std::string &friendName, std::set<TLeaf *> &foundLeaves, TLeaf *leaf, bool allowDuplicates) { -- GitLab