summaryrefslogtreecommitdiff
path: root/wait.cpp
diff options
context:
space:
mode:
authorweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2003-06-10 05:03:15 +0000
committerweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2003-06-10 05:03:15 +0000
commitb0034a8989f961db2fcfb7673e487031e3115cb5 (patch)
treef32db36c2129b31bfc2f3da039228aae48a0e178 /wait.cpp
parent2660779a26b8ba285b0ab172c8f48d50dd1da918 (diff)
downloadcryptopp-b0034a8989f961db2fcfb7673e487031e3115cb5.tar.gz
fix WaitObjectContainer constructor in release build
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@80 57ff6487-cd31-0410-9ec3-f628ee90f5f0
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();
}