--- parser3/src/include/pa_array.h 2001/03/20 06:45:18 1.27 +++ parser3/src/include/pa_array.h 2001/03/20 17:21:50 1.27.2.1 @@ -5,7 +5,7 @@ Author: Alexander Petrosyan (http://design.ru/paf) - $Id: pa_array.h,v 1.27 2001/03/20 06:45:18 paf Exp $ + $Id: pa_array.h,v 1.27.2.1 2001/03/20 17:21:50 paf Exp $ */ #ifndef PA_ARRAY_H @@ -86,7 +86,7 @@ public: void put(int index, Item *item); /// convinient way to get strings from Array. I long for Array const String *get_string(int index) const { - return static_cast(get(index)); + return const_cast(static_cast(get(index))); } private: