--- parser3/src/include/pa_hash.h 2001/03/07 11:14:11 1.19 +++ parser3/src/include/pa_hash.h 2001/03/11 08:16:32 1.22 @@ -1,10 +1,9 @@ /* - $Id: pa_hash.h,v 1.19 2001/03/07 11:14:11 paf Exp $ -*/ - -/* - + Parser + 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 $ */ #ifndef PA_HASH_H @@ -49,7 +48,7 @@ public: void put(const Key& key, String *value) { put(key, static_cast(value)); } int get_int(const Key& key) { return reinterpret_cast(get(key)); } - String *get_string(const Key& key) { return static_cast(get(key)); } + const String *get_string(const Key& key) { return static_cast(get(key)); } int size() { return used; }