core: Fix clang build
Recent changes to the build system that made more warnings be flagged as errors caused building via clang to break. Fixes #4795
This commit is contained in:
parent
72df55f8a5
commit
18636013c9
105 changed files with 906 additions and 667 deletions
|
@ -33,7 +33,7 @@ struct ThreadQueueList {
|
|||
}
|
||||
}
|
||||
|
||||
return -1;
|
||||
return static_cast<Priority>(-1);
|
||||
}
|
||||
|
||||
[[nodiscard]] T get_first() const {
|
||||
|
@ -156,7 +156,7 @@ private:
|
|||
void link(Priority priority) {
|
||||
Queue* cur = &queues[priority];
|
||||
|
||||
for (int i = priority - 1; i >= 0; --i) {
|
||||
for (auto i = static_cast<int>(priority - 1); i >= 0; --i) {
|
||||
if (queues[i].next_nonempty != UnlinkedTag()) {
|
||||
cur->next_nonempty = queues[i].next_nonempty;
|
||||
queues[i].next_nonempty = cur;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue