Skip to content

Commit 3857cd1

Browse files
committed
fix unused var
1 parent 3b318cb commit 3857cd1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/beman/inplace_vector/inplace_vector.test.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ template <typename T> constexpr void test() {
2727
"");
2828
assert(const_bracket == T(42));
2929

30-
[[maybe_unused]] auto &&front = range.front();
30+
auto &&front = range.front();
3131
static_assert(std::is_same<decltype(const_bracket),
3232
typename vec::const_reference>::value,
3333
"");
34-
assert(front = T(1));
34+
assert(front == T(1));
3535

3636
auto &&const_front = const_range.front();
3737
static_assert(

0 commit comments

Comments
 (0)