Răsfoiți Sursa

windows needs default constructor?

David Rose 19 ani în urmă
părinte
comite
795fd4889d
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  1. 2 2
      dtool/src/dtoolbase/pallocator.h

+ 2 - 2
dtool/src/dtoolbase/pallocator.h

@@ -60,7 +60,7 @@ public:
   typedef TYPENAME allocator<Type>::const_reference const_reference;
   typedef TYPENAME allocator<Type>::const_reference const_reference;
   typedef TYPENAME allocator<Type>::size_type size_type;
   typedef TYPENAME allocator<Type>::size_type size_type;
 
 
-  INLINE pallocator_single(TypeHandle type_handle) throw();
+  INLINE pallocator_single(TypeHandle type_handle = TypeHandle::none()) throw();
 
 
   // template member functions in VC++ can only be defined in-class.
   // template member functions in VC++ can only be defined in-class.
   template<class U>
   template<class U>
@@ -88,7 +88,7 @@ public:
   typedef TYPENAME allocator<Type>::const_reference const_reference;
   typedef TYPENAME allocator<Type>::const_reference const_reference;
   typedef TYPENAME allocator<Type>::size_type size_type;
   typedef TYPENAME allocator<Type>::size_type size_type;
 
 
-  INLINE pallocator_array(TypeHandle type_handle) throw();
+  INLINE pallocator_array(TypeHandle type_handle = TypeHandle::none()) throw();
 
 
   // template member functions in VC++ can only be defined in-class.
   // template member functions in VC++ can only be defined in-class.
   template<class U>
   template<class U>