mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 08:49:05 +02:00
use c-style casts to respect the coding standard
This commit is contained in:
parent
37950e9931
commit
b9ce427344
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ namespace {
|
||||||
win_high_resolution_clock::time_point win_high_resolution_clock::now() {
|
win_high_resolution_clock::time_point win_high_resolution_clock::now() {
|
||||||
LARGE_INTEGER count;
|
LARGE_INTEGER count;
|
||||||
QueryPerformanceCounter(&count);
|
QueryPerformanceCounter(&count);
|
||||||
return time_point(duration(static_cast<rep>(double(count.QuadPart) * double(period::den) / double(g_Frequency))));
|
return time_point(duration(static_cast<rep>((double) count.QuadPart * (double) period::den / (double)g_Frequency)));
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue