mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-14 13:04:35 +03:00
Mark Object instances const
This commit is contained in:

committed by
cgzones

parent
08d85e6143
commit
ba282cfe19
@ -75,7 +75,7 @@ static void DIskIOMeter_display(ATTR_UNUSED Object* cast, RichString* out) {
|
||||
RichString_append(out, CRT_colors[DISKIO_WRITE], buffer);
|
||||
}
|
||||
|
||||
MeterClass DiskIOMeter_class = {
|
||||
const MeterClass DiskIOMeter_class = {
|
||||
.super = {
|
||||
.extends = Class(Meter),
|
||||
.delete = Meter_delete,
|
||||
|
Reference in New Issue
Block a user