--- parser3/src/targets/parser/Attic/pool.h 2001/01/30 11:52:22 1.1 +++ parser3/src/targets/parser/Attic/pool.h 2001/01/30 14:51:56 1.4 @@ -1,3 +1,7 @@ +/* + $Id: pool.h,v 1.4 2001/01/30 14:51:56 paf Exp $ +*/ + #ifndef POOL_H #define POOL_H @@ -5,14 +9,16 @@ class parser_Pool : public Pool { public: - parser_Pool() : Pool() {} + parser_Pool(Exception& aexception) : Pool(aexception) {} + +protected: - void *malloc(size_t size) { - return check(::malloc(size)); + void *real_malloc(size_t size) { + return ::malloc(size); } - void *calloc(size_t size) { - return check(::calloc(size, 1)); + void *real_calloc(size_t size) { + return ::calloc(size, 1); } };