summaryrefslogtreecommitdiffstats
path: root/CheckItem.c
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2020-10-05 13:19:50 +0200
committercgzones <cgzones@googlemail.com>2020-10-07 13:01:53 +0200
commitba282cfe193719f4fe030ebdcd80519ae19ffca2 (patch)
treecef89de747bb4312f7d5903f19f73ee04503e5ec /CheckItem.c
parent08d85e61435e43ade490ecef16437f93c0d88bed (diff)
Mark Object instances const
Diffstat (limited to 'CheckItem.c')
-rw-r--r--CheckItem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/CheckItem.c b/CheckItem.c
index f6d5bb91..09e42ee6 100644
--- a/CheckItem.c
+++ b/CheckItem.c
@@ -33,7 +33,7 @@ static void CheckItem_display(Object* cast, RichString* out) {
RichString_append(out, CRT_colors[CHECK_TEXT], this->text);
}
-ObjectClass CheckItem_class = {
+const ObjectClass CheckItem_class = {
.display = CheckItem_display,
.delete = CheckItem_delete
};

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