Fix some build errors from updated VS build agents (#18927)

Looks like there's a new VS version on the build agents. This just goes
through and fixes any issues they found.

There's still a COMPILER CRASH though.

(cherry picked from commit 2d64a3a4ab0d0d1c5b9085a022f5319460ef68d7)
Service-Card-Id: PVTI_lADOAF3p4s4AmhmQzgakG1w
Service-Version: 1.22
This commit is contained in:
Carlos Zamora 2025-05-22 16:57:04 -07:00 committed by Dustin L. Howett
parent 34c530c2a3
commit 1752816f7f
4 changed files with 6 additions and 6 deletions

View File

@ -2321,7 +2321,7 @@ namespace winrt::TerminalApp::implementation
// for it. The Title change will be propagated upwards through the tab's
// PropertyChanged event handler.
void TerminalPage::_activePaneChanged(winrt::TerminalApp::TerminalTab sender,
Windows::Foundation::IInspectable args)
Windows::Foundation::IInspectable /*args*/)
{
if (const auto tab{ _GetTerminalTabImpl(sender) })
{
@ -5301,8 +5301,8 @@ namespace winrt::TerminalApp::implementation
}
}
safe_void_coroutine TerminalPage::_onTabDroppedOutside(winrt::IInspectable sender,
winrt::MUX::Controls::TabViewTabDroppedOutsideEventArgs e)
safe_void_coroutine TerminalPage::_onTabDroppedOutside(winrt::IInspectable /*sender*/,
winrt::MUX::Controls::TabViewTabDroppedOutsideEventArgs /*e*/)
{
// Get the current pointer point from the CoreWindow
const auto& pointerPoint{ CoreWindow::GetForCurrentThread().PointerPosition() };

View File

@ -113,7 +113,7 @@ namespace winrt::Microsoft::Terminal::Control::implementation
return WrapArrayOfTextRangeProviders(pReturnVal);
}
XamlAutomation::ITextRangeProvider InteractivityAutomationPeer::RangeFromChild(XamlAutomation::IRawElementProviderSimple childElement)
XamlAutomation::ITextRangeProvider InteractivityAutomationPeer::RangeFromChild(XamlAutomation::IRawElementProviderSimple /*childElement*/)
{
UIA::ITextRangeProvider* returnVal;
// ScreenInfoUiaProvider doesn't actually use parameter, so just pass in nullptr

View File

@ -78,7 +78,7 @@
</ProjectReference>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\inc\CommonState.hpp" />
<ClInclude Include="..\..\inc\test\CommonState.hpp" />
<ClInclude Include="..\precomp.h" />
<ClInclude Include="UnicodeLiteral.hpp" />
</ItemGroup>

View File

@ -83,7 +83,7 @@
<ClInclude Include="..\precomp.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\inc\CommonState.hpp">
<ClInclude Include="..\..\inc\test\CommonState.hpp">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>