summarylogtreecommitdiffstats
path: root/13_suspendoutput_remove_template_redefine.patch
blob: 1805f28833436b0232899dd342e842afcc6184ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--- a/timer.h
+++ b/timer.h
@@ -242,21 +242,6 @@
 }
 
 template<class TCLASS>
-cTimerEvent *CreateTimerEvent(TCLASS *c, void (TCLASS::*fp)(void),
-                              unsigned int TimeoutMs, bool runOnce = true)
-{
-  return new cTimerFunctor0<TCLASS>(c,fp,TimeoutMs,runOnce);
-}
-
-template<class TCLASS, class TARG1>
-cTimerEvent *CreateTimerEvent(TCLASS *c, void (TCLASS::*fp)(TARG1),
-                              TARG1 arg1,
-                              unsigned int TimeoutMs, bool runOnce = true)
-{
-  return new cTimerFunctor1<TCLASS,TARG1>(c,fp,arg1,TimeoutMs,runOnce);
-}
-
-template<class TCLASS>
 void CancelTimerEvents(TCLASS *c)
 {
   cTimerEvent::CancelAll((void*)c);