mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-17 20:36:36 +03:00
Mark remaining classes const
This commit is contained in:

committed by
cgzones

parent
5cc20e7cb2
commit
7af06659e2
@ -67,7 +67,7 @@ static void MaskItem_display(const Object* cast, RichString* out) {
|
||||
RichString_append(out, CRT_colors[CHECK_TEXT], this->text);
|
||||
}
|
||||
|
||||
static ObjectClass MaskItem_class = {
|
||||
static const ObjectClass MaskItem_class = {
|
||||
.display = MaskItem_display,
|
||||
.delete = MaskItem_delete
|
||||
};
|
||||
|
Reference in New Issue
Block a user