]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - libs/memory/allocator.h
Remove -Wno-extra
[xonotic/netradiant.git] / libs / memory / allocator.h
index bef7d7cb4c2a3eb02c0c30d3c9ab776cabb21d3d..845ce1400e716464b7022679d7abc421083e10ef 100644 (file)
@@ -118,11 +118,11 @@ struct rebind
        typedef NamedAllocator<Other> other;
 };
 
-explicit NamedAllocator( const char* name ) : m_name( name ){
+explicit NamedAllocator( const char* name ) : DefaultAllocator<Type>(), m_name( name ){
 }
-NamedAllocator( const NamedAllocator<Type>& other ) : m_name( other.m_name ){
+NamedAllocator( const NamedAllocator<Type>& other ) : DefaultAllocator<Type>(), m_name( other.m_name ){
 }
-template<typename Other> NamedAllocator( const NamedAllocator<Other>& other ) : m_name( other.m_name ){
+template<typename Other> NamedAllocator( const NamedAllocator<Other>& other ) : DefaultAllocator<Type>(), m_name( other.m_name ){
 }
 ~NamedAllocator(){
 }