summaryrefslogtreecommitdiffstats
path: root/core/safe_refcount.cpp
diff options
context:
space:
mode:
authorHubert Jarosz <marqin.pl@gmail.com>2016-03-09 00:00:52 +0100
committerHubert Jarosz <marqin.pl@gmail.com>2016-03-09 00:00:52 +0100
commit4a4f2479146aa33e235ed57cde311efda68d3c8f (patch)
treecf91f2869ff8f058c6682569fb31e22e5ee736ad /core/safe_refcount.cpp
parent1dad6eca812e5c2e313b54265114de8a1d73d999 (diff)
downloadredot-engine-4a4f2479146aa33e235ed57cde311efda68d3c8f.tar.gz
remove trailing whitespace
Diffstat (limited to 'core/safe_refcount.cpp')
-rw-r--r--core/safe_refcount.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/safe_refcount.cpp b/core/safe_refcount.cpp
index 7718e466f2..9736f96f34 100644
--- a/core/safe_refcount.cpp
+++ b/core/safe_refcount.cpp
@@ -40,9 +40,9 @@ long atomic_conditional_increment( register long * pw ) {
while (true) {
long tmp = static_cast< long const volatile& >( *pw );
- if( tmp == 0 )
+ if( tmp == 0 )
return 0; // if zero, can't add to it anymore
- if( InterlockedCompareExchange( pw, tmp + 1, tmp ) == tmp )
+ if( InterlockedCompareExchange( pw, tmp + 1, tmp ) == tmp )
return tmp+1;
}