Skip to content

Commit 30b64b5

Browse files
committed
xrCore/Threading/Lock: Fixed code style.
Sorry for the noise.
1 parent ea441eb commit 30b64b5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/xrCore/Threading/Lock.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,22 +34,22 @@ class XRCORE_API Lock
3434
void Enter()
3535
{
3636
mutex.lock();
37-
++lockCounter;
37+
lockCounter++;
3838
}
3939
#endif
4040

4141
bool TryEnter()
4242
{
4343
bool locked = mutex.try_lock();
4444
if (locked)
45-
++lockCounter;
45+
lockCounter++;
4646
return locked;
4747
}
4848

4949
void Leave()
5050
{
5151
mutex.unlock();
52-
--lockCounter;
52+
lockCounter--;
5353
}
5454

5555
bool IsLocked() const { return lockCounter; }

0 commit comments

Comments
 (0)