From 877def4f243e1ef5eb39a6132f3969844e00be95 Mon Sep 17 00:00:00 2001 From: Neil Date: Thu, 11 Jun 2020 10:08:29 +1000 Subject: Backport: Use noexcept where safe and maintainable. Backport of changeset 8300:266c8247814e. --- src/CellBuffer.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/CellBuffer.cxx') diff --git a/src/CellBuffer.cxx b/src/CellBuffer.cxx index cbc19f539..661502d33 100644 --- a/src/CellBuffer.cxx +++ b/src/CellBuffer.cxx @@ -666,7 +666,7 @@ bool CellBuffer::SetStyleAt(Sci::Position position, char styleValue) noexcept { } } -bool CellBuffer::SetStyleFor(Sci::Position position, Sci::Position lengthStyle, char styleValue) { +bool CellBuffer::SetStyleFor(Sci::Position position, Sci::Position lengthStyle, char styleValue) noexcept { if (!hasStyles) { return false; } -- cgit v1.2.3