Skip to content
Snippets Groups Projects
Commit f0556c0b authored by Enrico Guiraud's avatar Enrico Guiraud
Browse files

[TTreeProcMT] Fix COV-98763: large variable passed by value

parent 1c4ff134
No related branches found
No related tags found
No related merge requests found
...@@ -142,7 +142,7 @@ namespace ROOT { ...@@ -142,7 +142,7 @@ namespace ROOT {
/// Get a TTreeReader for the current tree of this view. /// Get a TTreeReader for the current tree of this view.
TreeReaderEntryListPair GetTreeReader(Long64_t start, Long64_t end, const std::string &treeName, TreeReaderEntryListPair GetTreeReader(Long64_t start, Long64_t end, const std::string &treeName,
const std::vector<std::string> &fileNames, const FriendInfo &friendInfo, const std::vector<std::string> &fileNames, const FriendInfo &friendInfo,
TEntryList entryList, const std::vector<Long64_t> &nEntries, TEntryList &entryList, const std::vector<Long64_t> &nEntries,
const std::vector<std::vector<Long64_t>> &friendEntries) const std::vector<std::vector<Long64_t>> &friendEntries)
{ {
const bool usingLocalEntries = friendInfo.fFriendNames.empty() && entryList.GetN() == 0; const bool usingLocalEntries = friendInfo.fFriendNames.empty() && entryList.GetN() == 0;
...@@ -168,7 +168,7 @@ namespace ROOT { ...@@ -168,7 +168,7 @@ namespace ROOT {
const std::vector<std::string> fFileNames; ///< Names of the files const std::vector<std::string> fFileNames; ///< Names of the files
const std::string fTreeName; ///< Name of the tree const std::string fTreeName; ///< Name of the tree
/// User-defined selection of entry numbers to be processed, empty if none was provided /// User-defined selection of entry numbers to be processed, empty if none was provided
const TEntryList fEntryList; TEntryList fEntryList;
const Internal::FriendInfo fFriendInfo; const Internal::FriendInfo fFriendInfo;
ROOT::TThreadedObject<ROOT::Internal::TTreeView> treeView; ///<! Thread-local TreeViews ROOT::TThreadedObject<ROOT::Internal::TTreeView> treeView; ///<! Thread-local TreeViews
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment