File 50_suspendoutput-new-gcc.diff of Package vdr-plugin-suspendoutput

Index: b/timer.h
===================================================================
--- a/timer.h
+++ b/timer.h
@@ -243,7 +243,7 @@ cTimerEvent *CreateTimerEvent(TCLASS *c,
 
 template<class TCLASS>
 cTimerEvent *CreateTimerEvent(TCLASS *c, void (TCLASS::*fp)(void),
-                              unsigned int TimeoutMs, bool runOnce = true)
+                              unsigned int TimeoutMs, bool runOnce)
 {
   return new cTimerFunctor0<TCLASS>(c,fp,TimeoutMs,runOnce);
 }
@@ -251,7 +251,7 @@ cTimerEvent *CreateTimerEvent(TCLASS *c,
 template<class TCLASS, class TARG1>
 cTimerEvent *CreateTimerEvent(TCLASS *c, void (TCLASS::*fp)(TARG1),
                               TARG1 arg1,
-                              unsigned int TimeoutMs, bool runOnce = true)
+                              unsigned int TimeoutMs, bool runOnce)
 {
   return new cTimerFunctor1<TCLASS,TARG1>(c,fp,arg1,TimeoutMs,runOnce);
 }
openSUSE Build Service is sponsored by