We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2b6a3c commit 6b6c50dCopy full SHA for 6b6c50d
lib/Common/PlatformAgnostic/DateTimeInternal.h
@@ -61,7 +61,7 @@ namespace DateTime
61
uint32 lastTimeZoneUpdateTickCount;
62
63
void UpdateTimeZoneInfo();
64
- UtilityPlatformData(): lastTimeZoneUpdateTickCount(0) { }
+ UtilityPlatformData() : lastTimeZoneUpdateTickCount(0) { GetTimeZoneInformation(&timeZoneInfo); }
65
};
66
67
class HiresTimerPlatformData
@@ -78,13 +78,14 @@ namespace DateTime
78
bool fHiResAvailable;
79
80
HiresTimerPlatformData() :
81
- fInit(false),
82
dBaseTime(0),
83
- baseMsCount(0),
84
- fHiResAvailable(true),
85
dLastTime(0),
86
dAdjustFactor(1),
87
- fReset(true)
+ baseMsCount(0),
+ freq(0),
+ fReset(true),
+ fInit(false),
88
+ fHiResAvailable(true)
89
{
90
}
91
0 commit comments