mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-05-31 11:45:58 +00:00
refactor: downgrade to C++20
This commit is contained in:
@@ -140,7 +140,7 @@ void setPriorityPlatform(std::thread& threadHandle, bool isSelf,
|
||||
handle = ::GetCurrentThread();
|
||||
else
|
||||
return;
|
||||
(void)::SetThreadPriority(handle, std::to_underlying(priority));
|
||||
(void)::SetThreadPriority(handle, static_cast<int>(priority));
|
||||
|
||||
#elif defined(__linux__)
|
||||
std::int64_t tid = 0;
|
||||
|
||||
Reference in New Issue
Block a user