summarylogtreecommitdiffstats
path: root/13_suspendoutput_remove_template_redefine.patch
diff options
context:
space:
mode:
Diffstat (limited to '13_suspendoutput_remove_template_redefine.patch')
-rw-r--r--13_suspendoutput_remove_template_redefine.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/13_suspendoutput_remove_template_redefine.patch b/13_suspendoutput_remove_template_redefine.patch
new file mode 100644
index 000000000000..4e99f98aadf6
--- /dev/null
+++ b/13_suspendoutput_remove_template_redefine.patch
@@ -0,0 +1,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);