Skip to content

Commit

Permalink
fixup! improve checks
Browse files Browse the repository at this point in the history
  • Loading branch information
aalkin committed Nov 13, 2024
1 parent dbd4724 commit 765277c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Framework/Core/include/Framework/ASoA.h
Original file line number Diff line number Diff line change
Expand Up @@ -1991,7 +1991,7 @@ DECLARE_SOA_ITERATOR_METADATA();
template <typename T> \
consteval int getVersion() \
{ \
if constexpr (o2::soa::has_metadata<MetadataTrait<T>>) { \
if constexpr (o2::soa::has_metadata<T>) { \
return MetadataTrait<T>::metadata::version(); \
} else if constexpr (o2::soa::is_type_with_originals_v<T>) { \
return MetadataTrait<o2::framework::pack_head_t<typename T::originals>>::metadata::version(); \
Expand Down

0 comments on commit 765277c

Please sign in to comment.