Misc: Replace likely/unlikely with C++20 equivalents

This commit is contained in:
Stenzek authored and Connor McLaughlin committed 2023-12-24 14:03:14 +10:00
1 parent 76f36b780c
commit c8b051628f
13 files changed
+51 -56

No files matched your search

+1 -1
View File
@@ -216,7 +216,7 @@ u64 Threading::GetThreadTicksPerSecond()
// On x86, despite what the MS documentation says, this basically appears to be rdtsc.
// So, the frequency is our base clock speed (and stable regardless of power management).
static u64 frequency = 0;
if (unlikely(frequency == 0))
if (frequency == 0) [[unlikely]]
{
HKEY key;
LSTATUS res =