Skip to content

Commit 4ab7807

Browse files
committed
clang-format
1 parent c17aeb4 commit 4ab7807

File tree

3 files changed

+11
-9
lines changed

3 files changed

+11
-9
lines changed

include/beman/execution26/detail/gather_signatures.hpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,14 +70,12 @@ template <typename Tag,
7070
template <typename...> class Variant>
7171
requires requires {
7272
typename ::beman::execution26::detail::gather_signatures_helper<
73-
::beman::execution26::detail::meta::
74-
filter_tag<::beman::execution26::detail::same_tag, Tag, signatures>,
73+
::beman::execution26::detail::meta::filter_tag<::beman::execution26::detail::same_tag, Tag, signatures>,
7574
Tuple,
7675
Variant>::type;
7776
}
7877
using gather_signatures = ::beman::execution26::detail::gather_signatures_helper<
79-
::beman::execution26::detail::meta::filter_tag<::beman::execution26::detail::same_tag, Tag,
80-
signatures>,
78+
::beman::execution26::detail::meta::filter_tag<::beman::execution26::detail::same_tag, Tag, signatures>,
8179
Tuple,
8280
Variant>::type;
8381
} // namespace beman::execution26::detail

include/beman/execution26/detail/meta_filter.hpp

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,15 @@ struct filter<Predicate, List<H, T...>> {
3232
using type = ::std::conditional_t<Predicate<H>::value, ::beman::execution26::detail::meta::prepend<H, tail>, tail>;
3333
};
3434

35-
template <template <typename, typename> class Predicate, typename Tag, template <typename...> class List, typename H, typename... T>
35+
template <template <typename, typename> class Predicate,
36+
typename Tag,
37+
template <typename...> class List,
38+
typename H,
39+
typename... T>
3640
struct filter_tag<Predicate, Tag, List<H, T...>> {
3741
using tail = typename beman::execution26::detail::meta::detail::filter_tag<Predicate, Tag, List<T...>>::type;
38-
using type = ::std::conditional_t<Predicate<Tag, H>::value, ::beman::execution26::detail::meta::prepend<H, tail>, tail>;
42+
using type =
43+
::std::conditional_t<Predicate<Tag, H>::value, ::beman::execution26::detail::meta::prepend<H, tail>, tail>;
3944
};
4045
} // namespace beman::execution26::detail::meta::detail
4146

@@ -44,8 +49,7 @@ template <template <typename> class Predicate, typename List>
4449
using filter = ::beman::execution26::detail::meta::detail::filter<Predicate, List>::type;
4550

4651
template <template <typename, typename> class Predicate, typename Tag, typename List>
47-
using filter_tag = ::beman::execution26::detail::meta::detail::filter_tag<
48-
Predicate, Tag, List>::type;
52+
using filter_tag = ::beman::execution26::detail::meta::detail::filter_tag<Predicate, Tag, List>::type;
4953
}
5054

5155
// ----------------------------------------------------------------------------

tests/beman/execution26/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ foreach(test ${execution_tests})
129129
add_test(NAME ${TEST_EXE} COMMAND $<TARGET_FILE:${TEST_EXE}>)
130130
endforeach()
131131

132-
if(NOT PROJECT_IS_TOP_LEVEL)
132+
if(PROJECT_IS_TOP_LEVEL)
133133
# test if the targets are findable from the build directory
134134
# cmake-format: off
135135
add_test(NAME find-package-test

0 commit comments

Comments
 (0)