--- parser3/src/include/pa_array.h 2003/01/31 16:45:26 1.57.2.17 +++ parser3/src/include/pa_array.h 2003/02/04 10:32:12 1.57.2.20 @@ -8,7 +8,7 @@ #ifndef PA_ARRAY_H #define PA_ARRAY_H -static const char* IDENT_ARRAY_Y="$Date: 2003/01/31 16:45:26 $"; +static const char* IDENT_ARRAY_Y="$Date: 2003/02/04 10:32:12 $"; #include "pa_pool.h" #include "pa_exception.h" @@ -137,7 +137,7 @@ public: if(callback(*current, info)) return *current; - return 0;//T(0); + return T(0); } protected: @@ -175,7 +175,7 @@ public: } }; -inline void *operator new(size_t size, Pool& pool) { +inline void *operator new[] (size_t size, Pool& pool) { return pool.malloc(size); }