diff --git a/src_main/core/piobject.cpp b/src_main/core/piobject.cpp index 4b4454bc..ae5b211f 100755 --- a/src_main/core/piobject.cpp +++ b/src_main/core/piobject.cpp @@ -458,7 +458,7 @@ PIVector & PIObject::objects() { } -PIObject::callAddrV(void * slot, void * obj, int args, const PIVector & vl) { +void PIObject::callAddrV(void * slot, void * obj, int args, const PIVector & vl) { args = piMini(args, vl.size_s()); switch (args) { case 0: ((void(*)(void *))slot)(obj); break; diff --git a/src_main/core/piobject.h b/src_main/core/piobject.h index e4842ffb..b3cd4649 100755 --- a/src_main/core/piobject.h +++ b/src_main/core/piobject.h @@ -887,7 +887,7 @@ private: void postQueuedEvent(const QueuedEvent & e); static PIVector & objects(); - static callAddrV(void * slot, void * obj, int args, const PIVector & vl); + static void callAddrV(void * slot, void * obj, int args, const PIVector & vl); PIVector connections; PIMap properties_;