mirror of
https://github.com/xzeldon/htop.git
synced 2024-12-24 23:15:46 +00:00
Mark argument in Object_isA const
This commit is contained in:
parent
cdd3913647
commit
577984d875
2
Object.c
2
Object.c
@ -14,7 +14,7 @@ ObjectClass Object_class = {
|
||||
|
||||
#ifndef NDEBUG
|
||||
|
||||
bool Object_isA(Object* o, const ObjectClass* klass) {
|
||||
bool Object_isA(const Object* o, const ObjectClass* klass) {
|
||||
if (!o)
|
||||
return false;
|
||||
const ObjectClass* type = o->klass;
|
||||
|
Loading…
Reference in New Issue
Block a user