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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user