Unify prototype of Vector_get

Vector_get() currently takes a `const Vector*` in debug mode and a
`Vector*` else.
This commit is contained in:
Christian Göttsche 2021-01-06 17:14:06 +01:00
parent 8e10cde800
commit 330d4fe22f
1 changed files with 1 additions and 1 deletions

View File

@ -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];
}