--- parser3/src/include/pa_pool.h 2003/01/23 15:38:05 1.86.2.3 +++ parser3/src/include/pa_pool.h 2003/01/23 16:08:01 1.86.2.4 @@ -9,7 +9,7 @@ #ifndef PA_POOL_H #define PA_POOL_H -static const char* IDENT_POOL_H="$Date: 2003/01/23 15:38:05 $"; +static const char* IDENT_POOL_H="$Date: 2003/01/23 16:08:01 $"; #include "pa_config_includes.h" @@ -247,10 +247,10 @@ public: PA_Object(): references(0) {} virtual ~PA_Object()=0; - void ref() { + void ref() const { references++; } - void unref() { + void unref() const { if(references) { if(--references==0) delete this;