diff --git a/Vector.h b/Vector.h index ee514136..875f361d 100644 --- a/Vector.h +++ b/Vector.h @@ -58,7 +58,7 @@ unsigned int Vector_count(const Vector* this); #else /* NDEBUG */ -static inline Object* Vector_get(Vector* this, int idx) { +static inline Object* Vector_get(const Vector* this, int idx) { return this->array[idx]; }