summaryrefslogtreecommitdiff
path: root/wait.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'wait.cpp')
-rw-r--r--wait.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/wait.cpp b/wait.cpp
index 90231ac..e4da612 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();
}