From 6f795dce047c5caae5c6980845fa6e01a7ad759d Mon Sep 17 00:00:00 2001 From: Beman Dawes Date: Sun, 23 Sep 2001 12:31:10 +0000 Subject: [PATCH] Change +++m_count to ++m_count in three places [SVN r11217] --- src/recursive_mutex.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/recursive_mutex.cpp b/src/recursive_mutex.cpp index 63ad1a79..d6974258 100644 --- a/src/recursive_mutex.cpp +++ b/src/recursive_mutex.cpp @@ -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(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(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(m_mutex)); assert(res);