[ox/std] test
All checks were successful
Build / build (push) Successful in 1m56s

This commit is contained in:
2025-09-20 13:24:16 -05:00
parent 53446cfa1d
commit 1a10f56868

View File

@@ -55,6 +55,7 @@ struct VectorAllocator {
// try removing it later
if (!std::is_constant_evaluated()) {
if (cap <= m_data.size() && count <= m_data.size()) {
if (count <= Size)
for (auto i = 0u; i < count; ++i) {
auto const srcItem = std::launder(reinterpret_cast<T*>(&src->m_data[i]));
new (&m_data[i]) T(std::move(*srcItem));