diff --git a/Cpp.Build.props b/Cpp.Build.props index 14ef3a7645..16a54b0e29 100644 --- a/Cpp.Build.props +++ b/Cpp.Build.props @@ -53,6 +53,7 @@ false true stdcpplatest + false /await %(AdditionalOptions) _UNICODE;UNICODE;%(PreprocessorDefinitions) diff --git a/src/modules/MouseUtils/FindMyMouse/FindMyMouse.cpp b/src/modules/MouseUtils/FindMyMouse/FindMyMouse.cpp index 4c84691095..f768931d97 100644 --- a/src/modules/MouseUtils/FindMyMouse/FindMyMouse.cpp +++ b/src/modules/MouseUtils/FindMyMouse/FindMyMouse.cpp @@ -54,7 +54,7 @@ protected: D* Shim() { return static_cast(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{};