Skip to content

Commit cc40fb2

Browse files
committed
AuditMode fix
1 parent b529557 commit cc40fb2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/buffer/out/Row.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -664,7 +664,7 @@ catch (...)
664664
charsConsumed = ch - chBeg;
665665
}
666666

667-
[[msvc::forceinline]] void ROW::WriteHelper::_replaceTextUnicode(size_t ch, size_t off)
667+
[[msvc::forceinline]] void ROW::WriteHelper::_replaceTextUnicode(size_t ch, size_t off) noexcept
668668
{
669669
auto& cwd = CodepointWidthDetector::Singleton();
670670
const auto len = chars.size();

src/buffer/out/Row.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ class ROW final
181181
bool IsValid() const noexcept;
182182
void ReplaceCharacters(til::CoordType width) noexcept;
183183
void ReplaceText() noexcept;
184-
void _replaceTextUnicode(size_t ch, size_t off);
184+
void _replaceTextUnicode(size_t ch, size_t off) noexcept;
185185
void CopyTextFrom(const std::span<const uint16_t>& charOffsets) noexcept;
186186
static void _copyOffsets(uint16_t* dst, const uint16_t* src, uint16_t size, uint16_t offset) noexcept;
187187
void Finish();

0 commit comments

Comments
 (0)