From 795fd4889ddf84eebff66b0567f89cc2090d9e78 Mon Sep 17 00:00:00 2001 From: David Rose Date: Fri, 24 Nov 2006 23:03:46 +0000 Subject: [PATCH] windows needs default constructor? --- dtool/src/dtoolbase/pallocator.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dtool/src/dtoolbase/pallocator.h b/dtool/src/dtoolbase/pallocator.h index b354f9e73b..1f9febb398 100644 --- a/dtool/src/dtoolbase/pallocator.h +++ b/dtool/src/dtoolbase/pallocator.h @@ -60,7 +60,7 @@ public: typedef TYPENAME allocator::const_reference const_reference; typedef TYPENAME allocator::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 @@ -88,7 +88,7 @@ public: typedef TYPENAME allocator::const_reference const_reference; typedef TYPENAME allocator::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