File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Framework/Core/include/Framework Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -209,7 +209,7 @@ template <typename T>
209209concept has_parent_t = not_void<typename T::parent_t >;
210210
211211template <typename T>
212- concept has_metadata = not_void<typename aod::MetadataTrait<T> ::metadata>;
212+ concept has_metadata = not_void<typename T ::metadata>;
213213
214214template <typename T>
215215concept is_spawnable_column = std::is_same_v<typename T::spawnable_t , std::true_type>;
@@ -1991,7 +1991,7 @@ DECLARE_SOA_ITERATOR_METADATA();
19911991 template <typename T> \
19921992 consteval int getVersion () \
19931993 { \
1994- if constexpr (o2::soa::has_metadata<T> ) { \
1994+ if constexpr (o2::soa::has_metadata<o2::aod::MetadataTrait<T>> ) { \
19951995 return MetadataTrait<T>::metadata::version (); \
19961996 } else if constexpr (o2::soa::is_type_with_originals_v<T>) { \
19971997 return MetadataTrait<o2::framework::pack_head_t <typename T::originals>>::metadata::version (); \
You can’t perform that action at this time.
0 commit comments