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(); } };