Fixed SHEventReceiver constructor callback return signature.
This commit is contained in:
parent
3b533ac03d
commit
5bd35cec61
|
@ -19,7 +19,7 @@ namespace SHADE
|
||||||
SHEventHandle(T::*callback)(SHEventPtr);
|
SHEventHandle(T::*callback)(SHEventPtr);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
SHEventReceiverSpec(T* obj, void(T::* cb)(SHEventPtr))
|
SHEventReceiverSpec(T* obj, SHEventHandle(T::* cb)(SHEventPtr))
|
||||||
:SHEventReceiver(), object{ obj }, callback{ cb }
|
:SHEventReceiver(), object{ obj }, callback{ cb }
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue