mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-15 21:44:36 +03:00
Mark Object instances const
This commit is contained in:

committed by
cgzones

parent
08d85e6143
commit
ba282cfe19
@ -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
|
||||
};
|
||||
|
Reference in New Issue
Block a user