Skip to content

Commit 7e5f407

Browse files
committed
fixup! improve is_spawnable
1 parent b816b24 commit 7e5f407

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Framework/Core/include/Framework/AnalysisHelpers.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ struct TableTransform {
229229
/// This helper struct allows you to declare extended tables which should be
230230
/// created by the task (as opposed to those pre-defined by data model)
231231
template <typename T>
232-
concept is_spawnable = soa::has_metadata<aod::MetadataTrait<T>> && soa::has_extension<typename aod::MetadataTrait<T>::metadata>;
232+
concept is_spawnable = soa::has_metadata<aod::MetadataTrait<o2::aod::Hash<T::ref.desc_hash>>> && soa::has_extension<typename aod::MetadataTrait<o2::aod::Hash<T::ref.desc_hash>>::metadata>;
233233

234234
template <is_spawnable T>
235235
constexpr auto transformBase()

0 commit comments

Comments
 (0)