diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2020-10-05 12:27:32 +0200 |
---|---|---|
committer | cgzones <cgzones@googlemail.com> | 2020-10-05 12:47:56 +0200 |
commit | 577984d875982ae5cd1d667e2c0131776e559c85 (patch) | |
tree | 77eb7eafc4c26ddb498c888828bb5f1596cf49a4 | |
parent | cdd39136476a9a09341caaa8cf987ee61ccdcb23 (diff) |
Mark argument in Object_isA const
-rw-r--r-- | Object.c | 2 | ||||
-rw-r--r-- | Object.h | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -14,7 +14,7 @@ ObjectClass Object_class = { #ifndef NDEBUG -bool Object_isA(Object* o, const ObjectClass* klass) { +bool Object_isA(const Object* o, const ObjectClass* klass) { if (!o) return false; const ObjectClass* type = o->klass; @@ -50,7 +50,7 @@ extern ObjectClass Object_class; #ifndef NDEBUG -bool Object_isA(Object* o, const ObjectClass* klass); +bool Object_isA(const Object* o, const ObjectClass* klass); #endif /* NDEBUG */ |