--- parser3/src/include/pa_pool.h 2015/10/26 01:21:56 1.91 +++ 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) 2000-2015 Art. Lebedev Studio (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 -#define IDENT_PA_POOL_H "$Id: pa_pool.h,v 1.91 2015/10/26 01:21:56 moko Exp $" +#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 @@ @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: