1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-12-18 16:32:05 +00:00

kern: fix stray comment copy/paste error

This commit is contained in:
Michael Scire 2023-02-23 22:00:00 -07:00
parent 33d42f4831
commit 3292ea5970

View file

@ -214,7 +214,7 @@ namespace ams::kern {
template<typename T> requires (std::same_as<T, KThread> || std::same_as<T, RedBlackKeyType>) template<typename T> requires (std::same_as<T, KThread> || std::same_as<T, RedBlackKeyType>)
static constexpr ALWAYS_INLINE int Compare(const T &lhs, const KThread &rhs) { static constexpr ALWAYS_INLINE int Compare(const T &lhs, const KThread &rhs) {
if (lhs.GetPriority() < rhs.GetPriority()) { if (lhs.GetPriority() < rhs.GetPriority()) {
/* And then by priority. */ /* Sort by priority. */
return -1; return -1;
} else { } else {
return 1; return 1;