--- parser3/src/include/pa_pool.h 2017/02/07 22:00:35 1.92 +++ parser3/src/include/pa_pool.h 2020/12/15 17:10:31 1.95 @@ -1,7 +1,7 @@ /** @file Parser: pool class decl. - Copyright (c) 2000-2017 Art. Lebedev Studio (http://www.artlebedev.com) + Copyright (c) 2000-2020 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.92 2017/02/07 22:00:35 moko Exp $" +#define IDENT_PA_POOL_H "$Id: pa_pool.h,v 1.95 2020/12/15 17:10:31 moko Exp $" #include "pa_config_includes.h" #include "pa_array.h" @@ -24,7 +24,7 @@ class Pool { public: - struct Cleanup { + struct Cleanup : public PA_Allocated { void (*cleanup) (void *); void *data;