mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-23 07:57:51 -05:00
remind me to test my changes
This commit is contained in:
parent
badc7061ab
commit
f0127bdb88
1 changed files with 8 additions and 4 deletions
|
@ -7,7 +7,6 @@
|
||||||
#include <unordered_set>
|
#include <unordered_set>
|
||||||
#include <set>
|
#include <set>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <memory>
|
|
||||||
|
|
||||||
namespace geode::base {
|
namespace geode::base {
|
||||||
uintptr_t get();
|
uintptr_t get();
|
||||||
|
@ -286,7 +285,9 @@ namespace gd {
|
||||||
m_start = this->allocator().allocate(input.size());
|
m_start = this->allocator().allocate(input.size());
|
||||||
m_finish = m_start + input.size();
|
m_finish = m_start + input.size();
|
||||||
m_reserveEnd = m_start + input.size();
|
m_reserveEnd = m_start + input.size();
|
||||||
std::construct_at(m_start, input.begin(), input.end());
|
|
||||||
|
std::uninitialized_default_construct(m_start, m_finish);
|
||||||
|
std::copy(input.begin(), input.end(), m_start);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -295,7 +296,9 @@ namespace gd {
|
||||||
m_start = this->allocator().allocate(input.size());
|
m_start = this->allocator().allocate(input.size());
|
||||||
m_finish = m_start + input.size();
|
m_finish = m_start + input.size();
|
||||||
m_reserveEnd = m_start + input.size();
|
m_reserveEnd = m_start + input.size();
|
||||||
std::construct_at(m_start, input.begin(), input.end());
|
|
||||||
|
std::uninitialized_default_construct(m_start, m_finish);
|
||||||
|
std::copy(input.begin(), input.end(), m_start);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -341,7 +344,8 @@ namespace gd {
|
||||||
m_finish = m_start + input.size();
|
m_finish = m_start + input.size();
|
||||||
m_reserveEnd = m_start + input.size();
|
m_reserveEnd = m_start + input.size();
|
||||||
|
|
||||||
std::construct_at(m_start, input.begin(), input.end());
|
std::uninitialized_default_construct(m_start, m_finish);
|
||||||
|
std::copy(input.begin(), input.end(), m_start);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue