From 70fc53ece5b743888991ad646f0af70d292eae14 Mon Sep 17 00:00:00 2001 From: weidai Date: Tue, 10 Jun 2003 05:03:15 +0000 Subject: [PATCH] fix WaitObjectContainer constructor in release build --- trunk/c5/wait.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/trunk/c5/wait.cpp b/trunk/c5/wait.cpp index 90231acd..e4da6121 100644 --- a/trunk/c5/wait.cpp +++ b/trunk/c5/wait.cpp @@ -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(); }