summaryrefslogtreecommitdiffstats
path: root/Object.c
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2020-10-05 12:27:32 +0200
committercgzones <cgzones@googlemail.com>2020-10-05 12:47:56 +0200
commit577984d875982ae5cd1d667e2c0131776e559c85 (patch)
tree77eb7eafc4c26ddb498c888828bb5f1596cf49a4 /Object.c
parentcdd39136476a9a09341caaa8cf987ee61ccdcb23 (diff)
Mark argument in Object_isA const
Diffstat (limited to 'Object.c')
-rw-r--r--Object.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Object.c b/Object.c
index 9ac2be67..982f7bda 100644
--- a/Object.c
+++ b/Object.c
@@ -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;

© 2014-2024 Faster IT GmbH | imprint | privacy policy