diff options
author | Jeffrey Walton <noloader@gmail.com> | 2016-09-29 15:47:53 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2016-09-29 15:47:53 -0400 |
commit | 1c30ffc64a005d7276ddd9ae350ee41236bcb82c (patch) | |
tree | ffa781641b5cff5c94f1c6cdad365266b44ec8c1 /wait.cpp | |
parent | 639a11c74a0885e405e2c6ae1a39610749a980aa (diff) | |
download | cryptopp-git-1c30ffc64a005d7276ddd9ae350ee41236bcb82c.tar.gz |
Remove compare on "result >= WAIT_OBJECT_0" (Issue 311)
Diffstat (limited to 'wait.cpp')
-rw-r--r-- | wait.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -372,7 +372,7 @@ bool WaitObjectContainer::Wait(unsigned long milliseconds) lastTime = timeAfterWait;
}
#endif
- if (result >= WAIT_OBJECT_0 && result < WAIT_OBJECT_0 + m_handles.size())
+ if (result < WAIT_OBJECT_0 + m_handles.size())
{
if (result == m_lastResult)
m_sameResultCount++;
|