From 5b25f4b45fb67c48df4dd576f3271fe00e30796b 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 --- wait.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wait.cpp b/wait.cpp index 90231acd..e4da6121 100644 --- a/wait.cpp +++ b/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(); }