diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-02-01 17:26:13 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-01 17:26:13 +0100 |
commit | 0033e72a0f4d5ec271340fae86e0b64445720330 (patch) | |
tree | 0408490c937f6a91d6935dd2ab4dab2891badd48 /core | |
parent | 4cb64feae8f118529a5e1108c13d8fe05771857f (diff) | |
parent | 08d4bfacafa8abe435d51a6afecb276030a23280 (diff) |
Merge pull request #16276 from bcr3ative/issue_15668
Fix inconsistencies and typos in argument names
Diffstat (limited to 'core')
-rw-r--r-- | core/safe_refcount.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/core/safe_refcount.cpp b/core/safe_refcount.cpp index ff2f17103c..3b203f6977 100644 --- a/core/safe_refcount.cpp +++ b/core/safe_refcount.cpp @@ -119,8 +119,8 @@ _ALWAYS_INLINE_ uint64_t _atomic_exchange_if_greater_impl(register uint64_t *pw, // The actual advertised functions; they'll call the right implementation -uint32_t atomic_conditional_increment(register uint32_t *counter) { - return _atomic_conditional_increment_impl(counter); +uint32_t atomic_conditional_increment(register uint32_t *pw) { + return _atomic_conditional_increment_impl(pw); } uint32_t atomic_decrement(register uint32_t *pw) { @@ -143,8 +143,8 @@ uint32_t atomic_exchange_if_greater(register uint32_t *pw, register uint32_t val return _atomic_exchange_if_greater_impl(pw, val); } -uint64_t atomic_conditional_increment(register uint64_t *counter) { - return _atomic_conditional_increment_impl(counter); +uint64_t atomic_conditional_increment(register uint64_t *pw) { + return _atomic_conditional_increment_impl(pw); } uint64_t atomic_decrement(register uint64_t *pw) { |