diff options
| author | Morph <39850852+Morph1984@users.noreply.github.com> | 2023-01-29 19:52:38 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-29 19:52:38 -0500 |
| commit | 5f4647df7da58aa22be21dd26cfa6de7c5f106c9 (patch) | |
| tree | 4bbcaee76bde35ddc6eff9a1c639866cf278b353 /src/core/hle/kernel/k_thread.h | |
| parent | 3aab57452153c3dfa8591809bc09797da03b44dc (diff) | |
| parent | d5fc56db4bdebcf4f45e39e9c9d0f40229de8cea (diff) | |
Merge pull request #9705 from behunin/patch-1
Move to Clang Format 15
Diffstat (limited to 'src/core/hle/kernel/k_thread.h')
| -rw-r--r-- | src/core/hle/kernel/k_thread.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/core/hle/kernel/k_thread.h b/src/core/hle/kernel/k_thread.h index 9d771de0e..8b8dc51be 100644 --- a/src/core/hle/kernel/k_thread.h +++ b/src/core/hle/kernel/k_thread.h @@ -677,7 +677,7 @@ private: union SyncObjectBuffer { std::array<KSynchronizationObject*, Svc::ArgumentHandleCountMax> sync_objects{}; std::array<Handle, - Svc::ArgumentHandleCountMax*(sizeof(KSynchronizationObject*) / sizeof(Handle))> + Svc::ArgumentHandleCountMax * (sizeof(KSynchronizationObject*) / sizeof(Handle))> handles; constexpr SyncObjectBuffer() {} }; @@ -698,10 +698,8 @@ private: }; template <typename T> - requires( - std::same_as<T, KThread> || - std::same_as<T, RedBlackKeyType>) static constexpr int Compare(const T& lhs, - const KThread& rhs) { + requires(std::same_as<T, KThread> || std::same_as<T, RedBlackKeyType>) + static constexpr int Compare(const T& lhs, const KThread& rhs) { const u64 l_key = lhs.GetConditionVariableKey(); const u64 r_key = rhs.GetConditionVariableKey(); |
