Mark Object instances const

This commit is contained in:
Christian Göttsche
2020-10-05 13:19:50 +02:00
committed by cgzones
parent 08d85e6143
commit ba282cfe19
76 changed files with 111 additions and 111 deletions

View File

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