Skip to content

Commit d1ad2a9

Browse files
ktfmhemmer-cern
authored andcommitted
DPL: make addInputs support anything which provides base_specs (AliceO2Group#14575)
1 parent f988e3f commit d1ad2a9

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

Framework/Core/include/Framework/AnalysisManagers.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,9 @@ const char* controlOption()
159159
}
160160

161161
template <typename T>
162-
requires(is_spawns<T> || is_builds<T> || is_defines<T>)
162+
concept with_base_table = requires(T const& t) { t.base_specs(); };
163+
164+
template <with_base_table T>
163165
bool requestInputs(std::vector<InputSpec>& inputs, T const& entity)
164166
{
165167
auto base_specs = entity.base_specs();

0 commit comments

Comments
 (0)