aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/k_slab_heap.h
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2023-03-13 09:16:16 -0400
committerGitHub <noreply@github.com>2023-03-13 09:16:16 -0400
commit1f952f6ac9e3aca3dba8e4286fe937616081a767 (patch)
treeca57513605bdef4767762614c074ca90b7791575 /src/core/hle/kernel/k_slab_heap.h
parent54c359d1e3915653ce07a26e0e574aca5a331cb1 (diff)
parentc352381ce9196765f7df2b3ff4f6ea1f349781fb (diff)
Merge pull request #9936 from liamwhite/m_this
kernel: use consistent style
Diffstat (limited to 'src/core/hle/kernel/k_slab_heap.h')
-rw-r--r--src/core/hle/kernel/k_slab_heap.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/hle/kernel/k_slab_heap.h b/src/core/hle/kernel/k_slab_heap.h
index 68469b041..334afebb7 100644
--- a/src/core/hle/kernel/k_slab_heap.h
+++ b/src/core/hle/kernel/k_slab_heap.h
@@ -89,7 +89,8 @@ private:
if (alloc_peak <= cur_peak) {
break;
}
- } while (!Common::AtomicCompareAndSwap(&m_peak, alloc_peak, cur_peak, cur_peak));
+ } while (
+ !Common::AtomicCompareAndSwap(std::addressof(m_peak), alloc_peak, cur_peak, cur_peak));
}
public: