--- parser3/src/include/pa_pool.h 2003/11/20 16:32:12 1.89 +++ parser3/src/include/pa_pool.h 2017/11/15 22:48:57 1.93 @@ -1,7 +1,7 @@ /** @file Parser: pool class decl. - Copyright (c) 2001, 2003 ArtLebedev Group (http://www.artlebedev.com) + Copyright (c) 2000-2017 Art. Lebedev Studio (http://www.artlebedev.com) Author: Alexandr Petrosian (http://paf.design.ru) */ @@ -9,7 +9,7 @@ #ifndef PA_POOL_H #define PA_POOL_H -static const char * const IDENT_POOL_H="$Date: 2003/11/20 16:32:12 $"; +#define IDENT_PA_POOL_H "$Id: pa_pool.h,v 1.93 2017/11/15 22:48:57 moko Exp $" #include "pa_config_includes.h" #include "pa_array.h" @@ -21,10 +21,10 @@ static const char * const IDENT_POOL_H=" @see Pooled */ -class Pool { +class Pool : public PA_Allocated { public: - struct Cleanup { + struct Cleanup : public PA_Allocated { void (*cleanup) (void *); void *data; @@ -65,7 +65,7 @@ private: //disabled Base for all classes that are allocated in 'pools'. Holds Pool object. */ -class Pooled { +class Pooled : public PA_Allocated { // the pool i'm allocated on Pool& fpool; public: