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

(synced from d8a0a5f50d)
This commit is contained in:
2021-07-30 20:05:26 -05:00
parent 57fa761252
commit 59da5557af
-2
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) {