mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 08:44:19 -04:00
suggested bugfix by draisin on SourceForge site for MS .NET 2003
This commit is contained in:
parent
bacd4ad811
commit
0740cb0449
@ -78,6 +78,13 @@ public:
|
||||
template<class Type>
|
||||
class dallocator : public allocator<Type> {
|
||||
public:
|
||||
// There seems to be a bug in VC++ 2003 that requires these typedefs
|
||||
// to be made explicitly.
|
||||
typedef TYPENAME allocator<Type>::pointer pointer;
|
||||
typedef TYPENAME allocator<Type>::reference reference;
|
||||
typedef TYPENAME allocator<Type>::const_pointer const_pointer;
|
||||
typedef TYPENAME allocator<Type>::const_reference const_reference;
|
||||
|
||||
INLINE dallocator() throw();
|
||||
|
||||
// template member functions in VC++ can only be defined in-class.
|
||||
|
@ -87,6 +87,13 @@ public:
|
||||
template<class Type>
|
||||
class pallocator : public allocator<Type> {
|
||||
public:
|
||||
// There seems to be a bug in VC++ 2003 that requires these typedefs
|
||||
// to be made explicitly.
|
||||
typedef TYPENAME allocator<Type>::pointer pointer;
|
||||
typedef TYPENAME allocator<Type>::reference reference;
|
||||
typedef TYPENAME allocator<Type>::const_pointer const_pointer;
|
||||
typedef TYPENAME allocator<Type>::const_reference const_reference;
|
||||
|
||||
INLINE pallocator() throw();
|
||||
|
||||
// template member functions in VC++ can only be defined in-class.
|
||||
|
Loading…
x
Reference in New Issue
Block a user