@@ -130,7 +130,7 @@ static HMODULE LoadSystemModuleSecure(LPCWSTR lpModuleName) {
130130 Buf.append (lpModuleName, lpModuleName + std::wcslen (lpModuleName));
131131 Buf.push_back (0 );
132132
133- return GetModuleHandleW (Buf.data ());
133+ return :: GetModuleHandleW (Buf.data ());
134134}
135135
136136SetThreadPriorityResult llvm::set_thread_priority (ThreadPriority Priority) {
@@ -143,8 +143,8 @@ SetThreadPriorityResult llvm::set_thread_priority(ThreadPriority Priority) {
143143 _In_reads_bytes_ (ThreadInformationSize) PVOID ThreadInformation,
144144 ULONG ThreadInformationSize);
145145 static const auto pfnSetThreadInformation =
146- (SetThreadInformation_t)GetProcAddress (kernelMod,
147- " SetThreadInformation" );
146+ (SetThreadInformation_t):: GetProcAddress (kernelMod,
147+ " SetThreadInformation" );
148148
149149 if (pfnSetThreadInformation) {
150150 auto setThreadInformation = [](ULONG ControlMaskAndStateMask) {
@@ -153,7 +153,7 @@ SetThreadPriorityResult llvm::set_thread_priority(ThreadPriority Priority) {
153153 state.ControlMask = ControlMaskAndStateMask;
154154 state.StateMask = ControlMaskAndStateMask;
155155 return pfnSetThreadInformation (
156- GetCurrentThread (), ThreadPowerThrottling, &state, sizeof (state));
156+ :: GetCurrentThread (), ThreadPowerThrottling, &state, sizeof(state));
157157 };
158158
159159 // Use EcoQoS for ThreadPriority::Background available (running on most
0 commit comments