1
0
Fork 0
forked from eden-emu/eden

Revert "core: Fix clang build"

This commit is contained in:
bunnei 2020-10-20 19:07:39 -07:00 committed by GitHub
parent fdd9154069
commit 3d592972dc
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: 4AEE18F83AFDEB23
105 changed files with 667 additions and 906 deletions

View file

@ -33,7 +33,7 @@ struct ThreadQueueList {
}
}
return static_cast<Priority>(-1);
return -1;
}
[[nodiscard]] T get_first() const {
@ -156,7 +156,7 @@ private:
void link(Priority priority) {
Queue* cur = &queues[priority];
for (auto i = static_cast<int>(priority - 1); i >= 0; --i) {
for (int i = priority - 1; i >= 0; --i) {
if (queues[i].next_nonempty != UnlinkedTag()) {
cur->next_nonempty = queues[i].next_nonempty;
queues[i].next_nonempty = cur;