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

[DF][NFC] Remove unused template parameter from method

parent a26ce96e
No related branches found
No related tags found
No related merge requests found
...@@ -67,8 +67,8 @@ class RCustomColumn final : public RCustomColumnBase { ...@@ -67,8 +67,8 @@ class RCustomColumn final : public RCustomColumnBase {
/// The nth flag signals whether the nth input column is a custom column or not. /// The nth flag signals whether the nth input column is a custom column or not.
std::array<bool, ColumnTypes_t::list_size> fIsCustomColumn; std::array<bool, ColumnTypes_t::list_size> fIsCustomColumn;
template <std::size_t... S, typename... BranchTypes> template <std::size_t... S>
void UpdateHelper(unsigned int slot, Long64_t entry, std::index_sequence<S...>, TypeList<BranchTypes...>, NoneTag) void UpdateHelper(unsigned int slot, Long64_t entry, std::index_sequence<S...>, NoneTag)
{ {
fLastResults[slot] = fExpression(std::get<S>(fValues[slot]).Get(entry)...); fLastResults[slot] = fExpression(std::get<S>(fValues[slot]).Get(entry)...);
// silence "unused parameter" warnings in gcc // silence "unused parameter" warnings in gcc
...@@ -76,8 +76,8 @@ class RCustomColumn final : public RCustomColumnBase { ...@@ -76,8 +76,8 @@ class RCustomColumn final : public RCustomColumnBase {
(void)entry; (void)entry;
} }
template <std::size_t... S, typename... BranchTypes> template <std::size_t... S>
void UpdateHelper(unsigned int slot, Long64_t entry, std::index_sequence<S...>, TypeList<BranchTypes...>, SlotTag) void UpdateHelper(unsigned int slot, Long64_t entry, std::index_sequence<S...>, SlotTag)
{ {
fLastResults[slot] = fExpression(slot, std::get<S>(fValues[slot]).Get(entry)...); fLastResults[slot] = fExpression(slot, std::get<S>(fValues[slot]).Get(entry)...);
// silence "unused parameter" warnings in gcc // silence "unused parameter" warnings in gcc
...@@ -85,9 +85,8 @@ class RCustomColumn final : public RCustomColumnBase { ...@@ -85,9 +85,8 @@ class RCustomColumn final : public RCustomColumnBase {
(void)entry; (void)entry;
} }
template <std::size_t... S, typename... BranchTypes> template <std::size_t... S>
void void UpdateHelper(unsigned int slot, Long64_t entry, std::index_sequence<S...>, SlotAndEntryTag)
UpdateHelper(unsigned int slot, Long64_t entry, std::index_sequence<S...>, TypeList<BranchTypes...>, SlotAndEntryTag)
{ {
fLastResults[slot] = fExpression(slot, entry, std::get<S>(fValues[slot]).Get(entry)...); fLastResults[slot] = fExpression(slot, entry, std::get<S>(fValues[slot]).Get(entry)...);
// silence "unused parameter" warnings in gcc // silence "unused parameter" warnings in gcc
...@@ -123,7 +122,7 @@ public: ...@@ -123,7 +122,7 @@ public:
{ {
if (entry != fLastCheckedEntry[slot]) { if (entry != fLastCheckedEntry[slot]) {
// evaluate this filter, cache the result // evaluate this filter, cache the result
UpdateHelper(slot, entry, TypeInd_t(), ColumnTypes_t(), ExtraArgsTag{}); UpdateHelper(slot, entry, TypeInd_t(), ExtraArgsTag{});
fLastCheckedEntry[slot] = entry; fLastCheckedEntry[slot] = entry;
} }
} }
......
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