Silence warnings for timer implementation

This commit is contained in:
Jan Möbius
2017-02-06 13:12:04 +01:00
parent a6a7322744
commit e956bace15
2 changed files with 6 additions and 2 deletions

View File

@@ -261,7 +261,8 @@ void TimerImplStd::stop(void)
// ----------------------------------------------------------------- Timer ----
Timer::Timer(void)
Timer::Timer(void) :
state_(Stopped)
{
#if defined(WIN32) && (defined(_MSC_VER) || defined(__INTEL_COMPILER) || defined(__MINGW32__))
impl_ = new TimerImplWin32;
@@ -280,7 +281,7 @@ Timer::Timer(void)
#else
impl_ = new TimerImplStd;
#endif
state_ = Stopped;
}
Timer::~Timer(void)