diff options
Diffstat (limited to 'src/3rdparty/resonance-audio/resonance_audio/base/aligned_allocator.h')
-rw-r--r-- | src/3rdparty/resonance-audio/resonance_audio/base/aligned_allocator.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/3rdparty/resonance-audio/resonance_audio/base/aligned_allocator.h b/src/3rdparty/resonance-audio/resonance_audio/base/aligned_allocator.h index ac60e8292..628ccaa02 100644 --- a/src/3rdparty/resonance-audio/resonance_audio/base/aligned_allocator.h +++ b/src/3rdparty/resonance-audio/resonance_audio/base/aligned_allocator.h @@ -72,9 +72,9 @@ void AllignedFree(PointerType mem_block_aligned) { template <typename Type, size_t Alignment> class AlignedAllocator : public std::allocator<Type> { public: - typedef typename std::allocator<Type>::pointer Pointer; - typedef typename std::allocator<Type>::const_pointer ConstPointer; - typedef typename std::allocator<Type>::size_type SizeType; + using Pointer = typename std::allocator_traits<std::allocator<Type>>::pointer; + using ConstPointer = typename std::allocator_traits<std::allocator<Type>>::const_pointer; + using SizeType = typename std::allocator_traits<std::allocator<Type>>::size_type; AlignedAllocator() { StaticAlignmentCheck<sizeof(Type), Alignment>(); } |