mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-24 21:11:39 +00:00
Fixed deprecation warning reported by Clang
warning: 'register' storage class specifier is deprecated and incompatible with C++1z [-Wdeprecated-register]
This commit is contained in:
parent
b12c8a8f79
commit
47faaa87fc
1 changed files with 1 additions and 1 deletions
|
@ -130,7 +130,7 @@ inline unsigned long long rdtsc()
|
|||
if (CPU.bRDTSC)
|
||||
#endif
|
||||
{
|
||||
register unsigned long long tsc;
|
||||
unsigned long long tsc;
|
||||
asm volatile ("\trdtsc\n" : "=A" (tsc));
|
||||
return tsc;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue