Skip to content

Commit ab4a113

Browse files
committed
[MISC] automatic linting
1 parent d7af186 commit ab4a113

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

test/performance/range/container_assignment_benchmark.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ struct assignment_functor
3030
{
3131
template <typename container_t>
3232
requires (id == tag::assignment_operator)
33-
static constexpr void call(container_t & to, container_t const & from) noexcept(
34-
noexcept(std::is_nothrow_assignable_v<container_t, container_t>))
33+
static constexpr void call(container_t & to, container_t const & from)
34+
noexcept(noexcept(std::is_nothrow_assignable_v<container_t, container_t>))
3535
{
3636
benchmark::DoNotOptimize(to = from);
3737
}
@@ -55,16 +55,16 @@ struct assignment_functor
5555

5656
template <typename container_t>
5757
requires requires (container_t v) { v.resize(1u); }
58-
static constexpr void resize(container_t & container,
59-
size_t const size) noexcept(noexcept(std::declval<container_t>().resize(1u)))
58+
static constexpr void resize(container_t & container, size_t const size)
59+
noexcept(noexcept(std::declval<container_t>().resize(1u)))
6060
{
6161
container.resize(size);
6262
}
6363

6464
#if SEQAN3_HAS_SEQAN2
6565
template <typename container_t>
66-
static constexpr void resize(container_t & container,
67-
size_t const size) noexcept(noexcept(seqan2::resize(std::declval<container_t>(), 1u)))
66+
static constexpr void resize(container_t & container, size_t const size)
67+
noexcept(noexcept(seqan2::resize(std::declval<container_t>(), 1u)))
6868
{
6969
seqan2::resize(container, size);
7070
}

0 commit comments

Comments
 (0)