Memory: Fix wrong rebind

This commit is contained in:
Lukas W
2018-07-08 14:30:13 +02:00
parent 119efeec01
commit 71e9b45446

View File

@@ -90,7 +90,7 @@ class AlignedAllocator : _AlignedAllocator_Base
{
public:
typedef T value_type;
template<class U> struct rebind { typedef MmAllocator<U> other; };
template<class U> struct rebind { typedef AlignedAllocator<U> other; };
AlignedAllocator( size_t alignment = 16 )
: alignment(alignment) {}