From 5e4307046af9c4efe419e87fe282a2a8d12be51d Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Fri, 31 Jan 2020 16:38:33 -0800 Subject: [PATCH] style cleanup --- .../libmesosphere/include/mesosphere/kern_k_scoped_lock.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/libmesosphere/include/mesosphere/kern_k_scoped_lock.hpp b/libraries/libmesosphere/include/mesosphere/kern_k_scoped_lock.hpp index 63d35b788..fd6756b2c 100644 --- a/libraries/libmesosphere/include/mesosphere/kern_k_scoped_lock.hpp +++ b/libraries/libmesosphere/include/mesosphere/kern_k_scoped_lock.hpp @@ -23,7 +23,7 @@ namespace ams::kern { template concept KLockable = !std::is_reference::value && requires (T &t) { - { t.Lock() } -> std::same_as; + { t.Lock() } -> std::same_as; { t.Unlock() } -> std::same_as; }; @@ -37,7 +37,7 @@ namespace ams::kern { T *lock_ptr; public: explicit ALWAYS_INLINE KScopedLock(T *l) : lock_ptr(l) { this->lock_ptr->Lock(); } - explicit ALWAYS_INLINE KScopedLock(T &l) : KScopedLock(std::addressof(l)) { /* ... */} + explicit ALWAYS_INLINE KScopedLock(T &l) : KScopedLock(std::addressof(l)) { /* ... */ } ALWAYS_INLINE ~KScopedLock() { this->lock_ptr->Unlock(); } };