[ox/std] Remove preprocessor condition for Vector(initializer_list) constructor implementation

This commit is contained in:
Gary Talent 2021-07-30 20:05:26 -05:00
parent 68f829ff2d
commit d8a0a5f50d

View File

@ -336,14 +336,12 @@ Vector<T, SmallVectorSize>::Vector(std::size_t size) noexcept {
}
}
#if __has_include(<initializer_list>)
template<typename T, std::size_t SmallVectorSize>
Vector<T, SmallVectorSize>::Vector(std::initializer_list<T> list) noexcept {
for (auto &item : list) {
emplace_back(item);
}
}
#endif
template<typename T, std::size_t SmallVectorSize>
Vector<T, SmallVectorSize>::Vector(const Vector &other) {