Browse Source

windows needs default constructor?

David Rose 19 years ago
parent
commit
795fd4889d
1 changed files with 2 additions and 2 deletions
  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>::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<class U>
@@ -88,7 +88,7 @@ public:
   typedef TYPENAME allocator<Type>::const_reference const_reference;
   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<class U>