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.
This commit is contained in:
Carlos Zamora 2025-05-22 16:57:04 -07:00 committed by GitHub
parent b50eaa19e0
commit 2d64a3a4ab
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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 // for it. The Title change will be propagated upwards through the tab's
// PropertyChanged event handler. // PropertyChanged event handler.
void TerminalPage::_activePaneChanged(winrt::TerminalApp::TerminalTab sender, void TerminalPage::_activePaneChanged(winrt::TerminalApp::TerminalTab sender,
Windows::Foundation::IInspectable args) Windows::Foundation::IInspectable /*args*/)
{ {
if (const auto tab{ _GetTerminalTabImpl(sender) }) if (const auto tab{ _GetTerminalTabImpl(sender) })
{ {
@ -5382,8 +5382,8 @@ namespace winrt::TerminalApp::implementation
_sendDraggedTabToWindow(winrt::to_hstring(args.TargetWindow()), args.TabIndex(), std::nullopt); _sendDraggedTabToWindow(winrt::to_hstring(args.TargetWindow()), args.TabIndex(), std::nullopt);
} }
void TerminalPage::_onTabDroppedOutside(winrt::IInspectable sender, void TerminalPage::_onTabDroppedOutside(winrt::IInspectable /*sender*/,
winrt::MUX::Controls::TabViewTabDroppedOutsideEventArgs e) winrt::MUX::Controls::TabViewTabDroppedOutsideEventArgs /*e*/)
{ {
// Get the current pointer point from the CoreWindow // Get the current pointer point from the CoreWindow
const auto& pointerPoint{ CoreWindow::GetForCurrentThread().PointerPosition() }; const auto& pointerPoint{ CoreWindow::GetForCurrentThread().PointerPosition() };

View File

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

View File

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

View File

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