Skip to content

Commit 7e7696d

Browse files
committed
Update try_append_range
1 parent 829d1ff commit 7e7696d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/beman/inplace_vector/inplace_vector.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,7 @@ struct inplace_vector
482482
auto it = std::ranges::begin(rg);
483483
const auto end = std::ranges::end(rg);
484484
for (; size() != capacity() && it != end; ++it) {
485-
try_emplace_back(std::forward<decltype(*it)>(*it));
485+
unchecked_emplace_back(*it);
486486
}
487487
return it;
488488
}

0 commit comments

Comments
 (0)