--- parser3/src/include/pa_array.h 2001/03/19 17:42:12 1.26 +++ parser3/src/include/pa_array.h 2001/03/21 14:06:43 1.28 @@ -5,7 +5,7 @@ Author: Alexander Petrosyan (http://design.ru/paf) - $Id: pa_array.h,v 1.26 2001/03/19 17:42:12 paf Exp $ + $Id: pa_array.h,v 1.28 2001/03/21 14:06:43 paf Exp $ */ #ifndef PA_ARRAY_H @@ -20,17 +20,16 @@ /** Pooled Array. - Internal structure: @verbatim - - Array Chunk0 - ====== ======== - head--------------->[ptr] - append_here-------->[ptr] - link_row ........ - . . - . [ptr] - ...........>[link to the next chunk] - + Internal structure: + @verbatim + Array Chunk0 + ====== ======== + head--------------->[ptr] + append_here-------->[ptr] + link_row ........ + . . + . [ptr] + ...........>[link to the next chunk] @endverbatim */ @@ -87,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: