Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CI] Fix for building with Visual Studio 17.6 #25759

Merged
merged 2 commits into from
May 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Cpp.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
4 changes: 2 additions & 2 deletions src/modules/MouseUtils/FindMyMouse/FindMyMouse.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ struct SuperSonar
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.
Expand Down Expand Up @@ -118,7 +118,7 @@ struct SuperSonar
ControlUp2,
};

HWND m_hwndOwner;
HWND m_hwndOwner{};
SonarState m_sonarState = SonarState::Idle;
POINT m_lastKeyPos{};
ULONGLONG m_lastKeyTime{};
Expand Down