--- parser3/src/include/pa_hash.h 2001/03/11 08:16:32 1.22 +++ parser3/src/include/pa_hash.h 2001/03/16 09:26:42 1.24 @@ -3,7 +3,7 @@ Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com) Author: Alexander Petrosyan (http://design.ru/paf) - $Id: pa_hash.h,v 1.22 2001/03/11 08:16:32 paf Exp $ + $Id: pa_hash.h,v 1.24 2001/03/16 09:26:42 paf Exp $ */ #ifndef PA_HASH_H @@ -15,7 +15,7 @@ #include "pa_types.h" #include "pa_string.h" -class Hash : virtual public Pooled { +class Hash : public Pooled { public: typedef String Key; @@ -23,8 +23,9 @@ public: public: - Hash(Pool& apool,bool) : Pooled(apool) { construct(apool, true); } - Hash(Pool& apool) : Pooled(apool) { construct(apool, false); } + Hash(Pool& apool,bool athread_safe=false) : Pooled(apool) { + construct(apool, athread_safe); + } // useful generic hash function static uint generic_code(uint aresult, const char *start, uint allocated);