--- parser3/src/include/pa_array.h 2024/11/17 14:04:28 1.101 +++ parser3/src/include/pa_array.h 2025/05/28 00:58:02 1.104 @@ -8,7 +8,7 @@ #ifndef PA_ARRAY_H #define PA_ARRAY_H -#define IDENT_PA_ARRAY_H "$Id: pa_array.h,v 1.101 2024/11/17 14:04:28 moko Exp $" +#define IDENT_PA_ARRAY_H "$Id: pa_array.h,v 1.104 2025/05/28 00:58:02 moko Exp $" // includes @@ -169,7 +169,7 @@ public: inline void clear() { if(fsize) - memset(felements, 0, fsize * sizeof(T)); + memset((void *)felements, 0, fsize * sizeof(T)); fsize=0; } @@ -318,11 +318,6 @@ public: inline size_t index() { return fcurrent - farray.felements; } - - // returns the current index string value of the iterator - inline char *key() { - return pa_uitoa(index()); - } }; // Slower array iterator for arrays that can be modified during iteration @@ -349,10 +344,6 @@ public: inline size_t index() { return findex; } - - inline char* key() { - return pa_uitoa(findex); - } }; // Robust as used for arrays that can be modified during iteration @@ -375,9 +366,5 @@ public: inline size_t index() { return findex; } - - inline char *key() { - return pa_uitoa(index()); - } }; #endif