mirror of https://github.com/axmolengine/axmol.git
16 lines
254 B
C
16 lines
254 B
C
|
#ifndef AL_VECTOR_H
|
||
|
#define AL_VECTOR_H
|
||
|
|
||
|
#include <vector>
|
||
|
|
||
|
#include "almalloc.h"
|
||
|
|
||
|
namespace al {
|
||
|
|
||
|
template<typename T, size_t alignment=alignof(T)>
|
||
|
using vector = std::vector<T, al::allocator<T, alignment>>;
|
||
|
|
||
|
} // namespace al
|
||
|
|
||
|
#endif /* AL_VECTOR_H */
|