From 9fd8a084957ac3e74af77ab1099f2a5aad6539c7 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/libmesosphere/include/mesosphere/kern_k_scoped_lock.hpp b/libmesosphere/include/mesosphere/kern_k_scoped_lock.hpp index 63d35b78..fd6756b2 100644 --- a/libmesosphere/include/mesosphere/kern_k_scoped_lock.hpp +++ b/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(); } };