mirror of https://github.com/xzeldon/htop.git
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
|
#ifndef NDEBUG
|
||||||
|
|
||||||
bool Object_isA(Object* o, const ObjectClass* klass) {
|
bool Object_isA(const Object* o, const ObjectClass* klass) {
|
||||||
if (!o)
|
if (!o)
|
||||||
return false;
|
return false;
|
||||||
const ObjectClass* type = o->klass;
|
const ObjectClass* type = o->klass;
|
||||||
|
|
Loading…
Reference in New Issue