From e49afb3ccde7461bb72d8cc9b4564e702d6e9a6c Mon Sep 17 00:00:00 2001 From: Mike Griese Date: Mon, 10 Jun 2024 15:52:29 -0500 Subject: [PATCH] Mark the AdaptDispatch ctor as noexcept (#17417) CI is complaining about this on all new builds, in audit mode. But I don't think anything changed here recently. Maybe just new audit rules rolled out? --- src/terminal/adapter/adaptDispatch.cpp | 2 +- src/terminal/adapter/adaptDispatch.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/terminal/adapter/adaptDispatch.cpp b/src/terminal/adapter/adaptDispatch.cpp index 9205e798d04..74ede69b53f 100644 --- a/src/terminal/adapter/adaptDispatch.cpp +++ b/src/terminal/adapter/adaptDispatch.cpp @@ -16,7 +16,7 @@ using namespace Microsoft::Console::VirtualTerminal; static constexpr std::wstring_view whitespace{ L" " }; -AdaptDispatch::AdaptDispatch(ITerminalApi& api, Renderer& renderer, RenderSettings& renderSettings, TerminalInput& terminalInput) : +AdaptDispatch::AdaptDispatch(ITerminalApi& api, Renderer& renderer, RenderSettings& renderSettings, TerminalInput& terminalInput) noexcept : _api{ api }, _renderer{ renderer }, _renderSettings{ renderSettings }, diff --git a/src/terminal/adapter/adaptDispatch.hpp b/src/terminal/adapter/adaptDispatch.hpp index fac54bcdc23..76e32d0fdd5 100644 --- a/src/terminal/adapter/adaptDispatch.hpp +++ b/src/terminal/adapter/adaptDispatch.hpp @@ -36,7 +36,7 @@ namespace Microsoft::Console::VirtualTerminal using RenderSettings = Microsoft::Console::Render::RenderSettings; public: - AdaptDispatch(ITerminalApi& api, Renderer& renderer, RenderSettings& renderSettings, TerminalInput& terminalInput); + AdaptDispatch(ITerminalApi& api, Renderer& renderer, RenderSettings& renderSettings, TerminalInput& terminalInput) noexcept; void Print(const wchar_t wchPrintable) override; void PrintString(const std::wstring_view string) override;