From a62e4cd6be774fe93835f5b2657142dbda8186f3 Mon Sep 17 00:00:00 2001 From: Neil Date: Sun, 28 Apr 2019 09:37:22 +1000 Subject: Backport: Declare reading methods as noexcept where reasonable. Backport of changeset 7482:340b721ecdf4. --- 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 24cd40820..5b1259fb4 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(round(rc.left), std::floor(rc.top), round(rc.right), std::floor(rc.bottom)); -- cgit v1.2.3