diff --git a/src/FbTk/SimpleCommand.hh b/src/FbTk/SimpleCommand.hh index 797f6942..0ed864b4 100644 --- a/src/FbTk/SimpleCommand.hh +++ b/src/FbTk/SimpleCommand.hh @@ -27,10 +27,10 @@ namespace FbTk { /// a simple command -template +template class SimpleCommand: public Command { public: - typedef void (Receiver::* Action)(); + typedef ReturnType (Receiver::* Action)(); SimpleCommand(Receiver &r, Action a): m_receiver(r), m_action(a) { } void execute() { (m_receiver.*m_action)(); }