From e76fda0c610ac86087eb4d97091af2b2018f29a0 Mon Sep 17 00:00:00 2001 From: fluxgen Date: Wed, 3 Dec 2003 22:13:56 +0000 Subject: return type, default void --- src/FbTk/SimpleCommand.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/FbTk/SimpleCommand.hh b/src/FbTk/SimpleCommand.hh index 797f694..0ed864b 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)(); } -- cgit v0.11.2