aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Indicator.cxx
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2019-04-28 09:37:22 +1000
committerNeil <nyamatongwe@gmail.com>2019-04-28 09:37:22 +1000
commit6a542f10f35a7f6182335250ac6fb25dbd230cac (patch)
tree8579d35a88cfbb6c8644fc938176c22058e85561 /src/Indicator.cxx
parent8be8298fd9fadccef7caa8cc4232f53a2f4b91fb (diff)
downloadscintilla-mirror-6a542f10f35a7f6182335250ac6fb25dbd230cac.tar.gz
Declare reading methods as noexcept where reasonable.
Diffstat (limited to 'src/Indicator.cxx')
-rw-r--r--src/Indicator.cxx2
1 files changed, 1 insertions, 1 deletions
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));