Make sure struct members are initialized
[openal-soft.git] / common / vector.h
blob364735c67da45cf6098c58293b75a9233ea9ffab
1 #ifndef AL_VECTOR_H
2 #define AL_VECTOR_H
4 #include <cstddef>
5 #include <vector>
7 #include "almalloc.h"
9 namespace al {
11 template<typename T, std::size_t alignment=alignof(T)>
12 using vector = std::vector<T, al::allocator<T, alignment>>;
14 } // namespace al
16 #endif /* AL_VECTOR_H */