summaryrefslogtreecommitdiff
path: root/utils/SmartPointer.h
diff options
context:
space:
mode:
authorchatty1995-03-13 15:03:50 +0000
committerchatty1995-03-13 15:03:50 +0000
commit695304d5aa8235993b35f933dd44339e68b211e4 (patch)
treeb61418a94e522e373b3fb905cc2519b788be3179 /utils/SmartPointer.h
parente63a37896804d4c483512f460931793a5188ee1c (diff)
downloadivy-league-695304d5aa8235993b35f933dd44339e68b211e4.zip
ivy-league-695304d5aa8235993b35f933dd44339e68b211e4.tar.gz
ivy-league-695304d5aa8235993b35f933dd44339e68b211e4.tar.bz2
ivy-league-695304d5aa8235993b35f933dd44339e68b211e4.tar.xz
unsigned long -> size_t (finally!)
Diffstat (limited to 'utils/SmartPointer.h')
-rw-r--r--utils/SmartPointer.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/utils/SmartPointer.h b/utils/SmartPointer.h
index 37c78ee..1939327 100644
--- a/utils/SmartPointer.h
+++ b/utils/SmartPointer.h
@@ -3,7 +3,7 @@
*
* by Stephane Chatty
*
- * Copyright 1990, 1991, 1992
+ * Copyright 1990-1995
* Laboratoire de Recherche en Informatique (LRI)
* Centre d'Etudes de la Navigation Aerienne (CENA)
*
@@ -21,6 +21,8 @@
#endif
#include "cplus_bugs.h"
+#include <sys/types.h>
+
class CcuList;
class CcuSmartData {
@@ -40,7 +42,7 @@ static CcuList* LastDynamics;
#endif
public:
- void* operator new (unsigned long);
+ void* operator new (size_t);
inline void operator delete (void* that) { ::delete (that); }
CcuSmartData ();