aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
Diffstat (limited to 'Alc')
-rw-r--r--Alc/vector.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/vector.h b/Alc/vector.h
index a7df54f4..1b69d6a7 100644
--- a/Alc/vector.h
+++ b/Alc/vector.h
@@ -7,7 +7,7 @@
namespace al {
-template<typename T, size_t alignment=DEF_ALIGN>
+template<typename T, size_t alignment=alignof(T)>
using vector = std::vector<T, al::allocator<T, alignment>>;
} // namespace al