diff options
| author | L. Krause | 2017-07-22 22:01:57 +0200 |
|---|---|---|
| committer | L. Krause | 2017-07-22 22:06:01 +0200 |
| commit | aa798ebf8fcc0a72c837c7daea63e6d9ef51ff30 (patch) | |
| tree | be941431dcbf58fc4e0427ce5fe769f432221d93 | |
| parent | 3b2dfae5af9759da31516de25fcae12001092bb0 (diff) | |
| download | godot-aa798ebf8fcc0a72c837c7daea63e6d9ef51ff30.tar.gz godot-aa798ebf8fcc0a72c837c7daea63e6d9ef51ff30.tar.zst godot-aa798ebf8fcc0a72c837c7daea63e6d9ef51ff30.zip | |
| -rw-r--r-- | core/safe_refcount.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/safe_refcount.cpp b/core/safe_refcount.cpp index 1bd16f9e4..d18c90adf 100644 --- a/core/safe_refcount.cpp +++ b/core/safe_refcount.cpp @@ -55,7 +55,7 @@ static _ALWAYS_INLINE_ T _atomic_decrement_impl(register T *pw) { } template <class T> -static _ALWAYS_INLINE_T _atomic_increment_impl(register T *pw) { +static _ALWAYS_INLINE_ T _atomic_increment_impl(register T *pw) { (*pw)++; @@ -71,7 +71,7 @@ static _ALWAYS_INLINE_ T _atomic_sub_impl(register T *pw, register T val) { } template <class T> -static _ALWAYS_INLINE_T _atomic_add_impl(register T *pw, register T val) { +static _ALWAYS_INLINE_ T _atomic_add_impl(register T *pw, register T val) { (*pw) += val; |
