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:
alexey.lysiuk 2017-01-31 17:41:44 +02:00
parent b12c8a8f79
commit 47faaa87fc
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}