mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-06-28 13:52:39 +02:00
style cleanup
This commit is contained in:
parent
2355047715
commit
5e4307046a
@ -37,7 +37,7 @@ namespace ams::kern {
|
|||||||
T *lock_ptr;
|
T *lock_ptr;
|
||||||
public:
|
public:
|
||||||
explicit ALWAYS_INLINE KScopedLock(T *l) : lock_ptr(l) { this->lock_ptr->Lock(); }
|
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(); }
|
ALWAYS_INLINE ~KScopedLock() { this->lock_ptr->Unlock(); }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user