fix WaitObjectContainer constructor in release build

import/raw
weidai 2003-06-10 05:03:15 +00:00
parent 6ed6d9ad80
commit 70fc53ece5
1 changed files with 4 additions and 1 deletions

View File

@ -25,7 +25,10 @@ unsigned int WaitObjectContainer::MaxWaitObjects()
}
WaitObjectContainer::WaitObjectContainer()
: m_sameResultCount(0), m_timer(Timer::MILLISECONDS)
#ifndef NDEBUG
: m_sameResultCount(0)
, m_timer(Timer::MILLISECONDS)
#endif
{
Clear();
}