|
39 | 39 |
|
40 | 40 | #define DECLARE_SOA_ITERATOR_METADATA() \ |
41 | 41 | template <typename IT> \ |
42 | | - requires(o2::soa::is_iterator<IT>) struct MetadataTrait<IT> { \ |
| 42 | + requires(o2::soa::is_iterator<IT>) \ |
| 43 | + struct MetadataTrait<IT> { \ |
43 | 44 | using metadata = typename MetadataTrait<typename IT::parent_t>::metadata; \ |
44 | 45 | }; |
45 | 46 |
|
@@ -1048,11 +1049,15 @@ struct RowViewCore : public IP, C... { |
1048 | 1049 | void bind() |
1049 | 1050 | { |
1050 | 1051 | using namespace o2::soa; |
1051 | | - auto f = framework::overloaded { |
1052 | | - [this]<typename T>(T*) -> void requires is_persistent_column<T> { T::mColumnIterator.mCurrentPos = &this->mRowIndex; }, |
1053 | | - [this]<typename T>(T*) -> void requires is_dynamic_column<T> { bindDynamicColumn<T>(typename T::bindings_t{});}, |
| 1052 | + auto f = framework::overloaded{ |
| 1053 | + [this]<typename T>(T*) -> void |
| 1054 | + requires is_persistent_column<T> |
| 1055 | + { T::mColumnIterator.mCurrentPos = &this->mRowIndex; }, |
| 1056 | + [this]<typename T>(T*) -> void |
| 1057 | + requires is_dynamic_column<T> |
| 1058 | + { bindDynamicColumn<T>(typename T::bindings_t{}); }, |
1054 | 1059 | [this]<typename T>(T*) -> void {}, |
1055 | | - }; |
| 1060 | + }; |
1056 | 1061 | (f(static_cast<C*>(nullptr)), ...); |
1057 | 1062 | if constexpr (has_index_v) { |
1058 | 1063 | this->setIndices(this->getIndices()); |
@@ -1134,7 +1139,7 @@ template <typename T> |
1134 | 1139 | concept is_index_table = soa::is_specialization_origin_v<T, o2::soa::IndexTable>; |
1135 | 1140 |
|
1136 | 1141 | template <soa::is_table T> |
1137 | | - requires (!soa::is_index_table<T>) |
| 1142 | + requires(!soa::is_index_table<T>) |
1138 | 1143 | static constexpr std::string getLabelFromType() |
1139 | 1144 | { |
1140 | 1145 | if constexpr (soa::is_type_with_originals_v<std::decay_t<T>>) { |
|
0 commit comments