File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ void TimerImpl::reset(unsigned int timeout)
9797 m_fireTime = m_expTime;
9898
9999 // new ITimer timeout, ms
100- SINT64 tout = (m_expTime - curTime) * (1000 * 1000 );
100+ const SINT64 tout = (m_expTime - curTime) * (1000 * 1000 );
101101
102102 timerCtrl->start (&s, this , tout);
103103 check (&s);
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ class TimerImpl :
4949 public RefCntIface<ITimerImpl<TimerImpl, CheckStatusWrapper> >
5050{
5151public:
52- TimerImpl () :
52+ TimerImpl () noexcept :
5353 m_fireTime (0 ),
5454 m_expTime (0 ),
5555 m_handlerTid (0 )
@@ -75,7 +75,7 @@ class TimerImpl :
7575 void reset (unsigned int timeout);
7676 void stop ();
7777
78- SINT64 getExpireClock () const
78+ SINT64 getExpireClock () const noexcept
7979 {
8080 return m_expTime;
8181 }
@@ -94,7 +94,7 @@ template <typename T>
9494class TimerWithRef : public TimerImpl
9595{
9696public:
97- TimerWithRef (T* obj) :
97+ TimerWithRef (T* obj) noexcept :
9898 TimerImpl (),
9999 m_ref (obj)
100100 {}
You can’t perform that action at this time.
0 commit comments