aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/vector.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-06-06 00:37:00 -0700
committerChris Robinson <[email protected]>2019-06-06 00:37:00 -0700
commit585b0cf3bed7d1c5720633eb7e5358a9fca865f6 (patch)
tree1aa5d6b51afe900d2a1cbb069202c368a46f947a /Alc/vector.h
parenta7be53104953ac67081db8e539d423509f44f801 (diff)
Remove the DEF_ALIGN macro
Diffstat (limited to 'Alc/vector.h')
-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