mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-11-27 23:19:13 +08:00
[CI] Fix for building with Visual Studio 17.6 (#25759)
* Disable building Stl Modules * [FindMyMouse] Fix C26495 errors
This commit is contained in:
parent
b0e7904027
commit
0aeab56a60
@ -53,6 +53,7 @@
|
||||
<ConformanceMode>false</ConformanceMode>
|
||||
<TreatWarningAsError>true</TreatWarningAsError>
|
||||
<LanguageStandard>stdcpplatest</LanguageStandard>
|
||||
<BuildStlModules>false</BuildStlModules>
|
||||
<AdditionalOptions>/await %(AdditionalOptions)</AdditionalOptions>
|
||||
<PreprocessorDefinitions>_UNICODE;UNICODE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
</ClCompile>
|
||||
|
@ -54,7 +54,7 @@ protected:
|
||||
D* Shim() { return static_cast<D*>(this); }
|
||||
LRESULT BaseWndProc(UINT message, WPARAM wParam, LPARAM lParam) noexcept;
|
||||
|
||||
HWND m_hwnd;
|
||||
HWND m_hwnd{};
|
||||
POINT m_sonarPos = ptNowhere;
|
||||
|
||||
// Only consider double left control click if at least 100ms passed between the clicks, to avoid keyboards that might be sending rapid clicks.
|
||||
@ -118,7 +118,7 @@ private:
|
||||
ControlUp2,
|
||||
};
|
||||
|
||||
HWND m_hwndOwner;
|
||||
HWND m_hwndOwner{};
|
||||
SonarState m_sonarState = SonarState::Idle;
|
||||
POINT m_lastKeyPos{};
|
||||
ULONGLONG m_lastKeyTime{};
|
||||
|
Loading…
Reference in New Issue
Block a user