2
0
mirror of https://github.com/boostorg/thread.git synced 2026-01-27 19:32:11 +00:00

Change +++m_count to ++m_count in three places

[SVN r11217]
This commit is contained in:
Beman Dawes
2001-09-23 12:31:10 +00:00
parent 7496ecbc73
commit 6f795dce04

View File

@@ -120,7 +120,7 @@ bool recursive_try_mutex::do_trylock()
if (res == WAIT_OBJECT_0)
{
if (+++m_count > 1)
if (++m_count > 1)
{
res = ReleaseMutex(reinterpret_cast<HANDLE>(m_mutex));
assert(res);
@@ -195,7 +195,7 @@ bool recursive_timed_mutex::do_trylock()
if (res == WAIT_OBJECT_0)
{
if (+++m_count > 1)
if (++m_count > 1)
{
res = ReleaseMutex(reinterpret_cast<HANDLE>(m_mutex));
assert(res);
@@ -216,7 +216,7 @@ bool recursive_timed_mutex::do_timedlock(const xtime& xt)
if (res == WAIT_OBJECT_0)
{
if (+++m_count > 1)
if (++m_count > 1)
{
res = ReleaseMutex(reinterpret_cast<HANDLE>(m_mutex));
assert(res);