--- a/timer.h +++ b/timer.h @@ -242,21 +242,6 @@ } template -cTimerEvent *CreateTimerEvent(TCLASS *c, void (TCLASS::*fp)(void), - unsigned int TimeoutMs, bool runOnce = true) -{ - return new cTimerFunctor0(c,fp,TimeoutMs,runOnce); -} - -template -cTimerEvent *CreateTimerEvent(TCLASS *c, void (TCLASS::*fp)(TARG1), - TARG1 arg1, - unsigned int TimeoutMs, bool runOnce = true) -{ - return new cTimerFunctor1(c,fp,arg1,TimeoutMs,runOnce); -} - -template void CancelTimerEvents(TCLASS *c) { cTimerEvent::CancelAll((void*)c);