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_lADOAF3p4s4AxadtzgakG1s
Service-Version: 1.23
This commit is contained in:
Carlos Zamora 2025-05-22 16:57:04 -07:00 committed by Dustin L. Howett
parent 94a2aa0100
commit 8905ac1164
4 changed files with 6 additions and 6 deletions

View File

@ -2303,7 +2303,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) })
{
@ -5255,8 +5255,8 @@ namespace winrt::TerminalApp::implementation
_sendDraggedTabToWindow(winrt::to_hstring(args.TargetWindow()), args.TabIndex(), std::nullopt);
}
void TerminalPage::_onTabDroppedOutside(winrt::IInspectable sender,
winrt::MUX::Controls::TabViewTabDroppedOutsideEventArgs e)
void 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

@ -118,7 +118,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>