File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Framework/Core/include/Framework Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -390,8 +390,8 @@ concept is_metadata_trait = framework::specialization_of_template<aod::MetadataT
390390template <typename T>
391391concept has_metadata = is_metadata_trait<T> && not_void<typename T::metadata>;
392392
393- // template <typename T>
394- // concept has_sources = is_metadata<T> && not_void<typename T::sources >;
393+ template <typename T>
394+ concept has_extension = is_metadata<T> && not_void<typename T::extension_table_t >;
395395
396396template <typename T>
397397concept is_spawnable_column = std::same_as<typename T::spawnable_t , std::true_type>;
Original file line number Diff line number Diff 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)
231231template <typename T>
232- concept is_spawnable = soa::is_table<T> && soa::has_metadata< aod::MetadataTrait<T>> && !soa::is_index_table<T >;
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
234234template <is_spawnable T>
235235constexpr auto transformBase ()
You can’t perform that action at this time.
0 commit comments