diff --git a/src/terminal/adapter/DispatchTypes.hpp b/src/terminal/adapter/DispatchTypes.hpp index 088714e5cf9..a9e7cf7dfbe 100644 --- a/src/terminal/adapter/DispatchTypes.hpp +++ b/src/terminal/adapter/DispatchTypes.hpp @@ -158,7 +158,7 @@ namespace Microsoft::Console::VirtualTerminal constexpr VTSubParameters() noexcept { } - + constexpr VTSubParameters(const std::span subParams) noexcept : _subParams{ subParams } { @@ -242,7 +242,7 @@ namespace Microsoft::Console::VirtualTerminal // _subParams as is and create new span for others. const auto newParamsSpan = _params.subspan(std::min(offset, _params.size())); const auto newSubParamRangesSpan = _subParamRanges.subspan(std::min(offset, _subParamRanges.size())); - return { newParamsSpan, _subParams , newSubParamRangesSpan }; + return { newParamsSpan, _subParams, newSubParamRangesSpan }; } VTSubParameters subParamsFor(const size_t index) const noexcept diff --git a/src/terminal/parser/ut_parser/OutputEngineTest.cpp b/src/terminal/parser/ut_parser/OutputEngineTest.cpp index 5b506e27cbe..9695c80936f 100644 --- a/src/terminal/parser/ut_parser/OutputEngineTest.cpp +++ b/src/terminal/parser/ut_parser/OutputEngineTest.cpp @@ -483,7 +483,7 @@ class Microsoft::Console::VirtualTerminal::OutputEngineTest final // Verify that first 6 sub parameters are stored for each parameter. // subParameters = { 0, 1, 2, 3, 4, 5, 0, 1, 2, 3, 4, 5 } - for (size_t i = 0; i < 12 ; i++) + for (size_t i = 0; i < 12; i++) { VERIFY_IS_TRUE(mach._subParameters.at(i).has_value()); VERIFY_ARE_EQUAL(mach._subParameters.at(i).value(), gsl::narrow_cast(i % 6));