diff --git a/libs/signal/signal.h b/libs/signal/signal.h index dc187e9..de98834 100644 --- a/libs/signal/signal.h +++ b/libs/signal/signal.h @@ -191,8 +191,6 @@ namespace ListDetail }; } -class Opaque; - template > class List : private Allocator { @@ -340,37 +338,40 @@ class Signal0 : public SignalBase public: void operator()() const { - invokeSignalHandlers(begin(), end(), FunctorInvoke()); + invokeSignalHandlers(begin(), end(), FunctorInvoke()); } }; template class Signal1 : public SignalBase< SignalHandler1 > { + typedef SignalBase< SignalHandler1 > Base; public: void operator()(FirstArgument a1) const { - invokeSignalHandlers(begin(), end(), Functor1Invoke(a1)); + invokeSignalHandlers(begin(), end(), Functor1Invoke(a1)); } }; template class Signal2 : public SignalBase< SignalHandler2 > { + typedef SignalBase< SignalHandler2 > Base; public: void operator()(FirstArgument a1, SecondArgument a2) const { - invokeSignalHandlers(begin(), end(), Functor2Invoke(a1, a2)); + invokeSignalHandlers(begin(), end(), Functor2Invoke(a1, a2)); } }; template class Signal3 : public SignalBase< SignalHandler3 > { + typedef SignalBase< SignalHandler3 > Base; public: void operator()(FirstArgument a1, SecondArgument a2, ThirdArgument a3) const { - invokeSignalHandlers(begin(), end(), Functor3Invoke(a1, a2, a3)); + invokeSignalHandlers(begin(), end(), Functor3Invoke(a1, a2, a3)); } };