Fixed SHEventReceiver constructor callback return signature.

This commit is contained in:
Xiao Qi 2022-09-22 17:07:59 +08:00
parent 3b533ac03d
commit 5bd35cec61
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ namespace SHADE
SHEventHandle(T::*callback)(SHEventPtr);
public:
SHEventReceiverSpec(T* obj, void(T::* cb)(SHEventPtr))
SHEventReceiverSpec(T* obj, SHEventHandle(T::* cb)(SHEventPtr))
:SHEventReceiver(), object{ obj }, callback{ cb }
{