diff --git a/Framework/Core/include/Framework/ASoA.h b/Framework/Core/include/Framework/ASoA.h index 9f5549f7439e9..0c90273848baf 100644 --- a/Framework/Core/include/Framework/ASoA.h +++ b/Framework/Core/include/Framework/ASoA.h @@ -189,7 +189,7 @@ template concept is_self_index_column = not_void && std::same_as; template -concept is_index_column = !is_self_index_column && (requires {&C::getId;} || requires {&C::getIds;}); +concept is_index_column = !is_self_index_column && (requires { &C::getId; } || requires { &C::getIds; }); template using is_external_index_t = typename std::conditional_t, std::true_type, std::false_type>; @@ -783,7 +783,7 @@ struct Index : o2::soa::IndexColumn> { template concept is_indexing_column = requires { - [](o2::soa::Index*){}(std::declval()); + [](o2::soa::Index*) {}(std::declval()); }; template @@ -1014,8 +1014,8 @@ concept can_bind = requires(T&& t) { template concept is_policy = std::same_as || std::same_as; -template - requires (sizeof...(C) > 0) +template + requires(sizeof...(C) > 0) struct TableIterator : IP, C... { public: using self_t = TableIterator; @@ -1717,28 +1717,28 @@ class Table using base_iterator::operator=; - //template - //TableIteratorBase& operator=(TableIteratorBase other) - // requires(P::ref::desc_hash == Parent::ref::desc_hash) + // template + // TableIteratorBase& operator=(TableIteratorBase other) + // requires(P::ref::desc_hash == Parent::ref::desc_hash) //{ - // static_cast&>(*this) = static_cast>(other); - // return *this; - //} + // static_cast&>(*this) = static_cast>(other); + // return *this; + // } - //template - //TableIteratorBase& operator=(TableIteratorBase other) + // template + // TableIteratorBase& operator=(TableIteratorBase other) //{ - // static_cast&>(*this) = static_cast>(other); - // return *this; - //} + // static_cast&>(*this) = static_cast>(other); + // return *this; + // } - //template - //TableIteratorBase& operator=(TableIteratorBase other) - // requires std::same_as + // template + // TableIteratorBase& operator=(TableIteratorBase other) + // requires std::same_as //{ - // static_cast&>(*this) = static_cast>(other); - // return *this; - //} + // static_cast&>(*this) = static_cast>(other); + // return *this; + // } template TableIteratorBase(TableIteratorBase const& other) @@ -1857,14 +1857,14 @@ class Table using iterator_template = TableIteratorBase; template - requires ((sizeof...(Ts) == 0) || (is_column && ...)) + requires((sizeof...(Ts) == 0) || (is_column && ...)) static consteval auto full_iter() -> iterator_template { return {}; } template - requires ((sizeof...(Ts) > 0) && (!is_column && ...)) + requires((sizeof...(Ts) > 0) && (!is_column && ...)) static consteval auto full_iter() -> iterator_template { return {}; diff --git a/Framework/Core/test/test_ASoA_minimal.cxx b/Framework/Core/test/test_ASoA_minimal.cxx index 462b1fdc8fe2e..549089cebf1b7 100644 --- a/Framework/Core/test/test_ASoA_minimal.cxx +++ b/Framework/Core/test/test_ASoA_minimal.cxx @@ -26,8 +26,8 @@ namespace test { DECLARE_SOA_COLUMN(X, x, float); DECLARE_SOA_COLUMN(Y, y, float); -} -} +} // namespace test +} // namespace o2::aod TEST_CASE("TestMinimal") {