From 6a542f10f35a7f6182335250ac6fb25dbd230cac Mon Sep 17 00:00:00 2001 From: Neil Date: Sun, 28 Apr 2019 09:37:22 +1000 Subject: Declare reading methods as noexcept where reasonable. --- src/Indicator.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Indicator.cxx') diff --git a/src/Indicator.cxx b/src/Indicator.cxx index 8db760f2b..baa7c3bd0 100644 --- a/src/Indicator.cxx +++ b/src/Indicator.cxx @@ -23,7 +23,7 @@ using namespace Scintilla; -static PRectangle PixelGridAlign(const PRectangle &rc) { +static PRectangle PixelGridAlign(const PRectangle &rc) noexcept { // Move left and right side to nearest pixel to avoid blurry visuals return PRectangle(std::round(rc.left), std::floor(rc.top), std::round(rc.right), std::floor(rc.bottom)); -- cgit v1.2.3