diff options
author | Neil <nyamatongwe@gmail.com> | 2019-04-28 09:37:22 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2019-04-28 09:37:22 +1000 |
commit | a62e4cd6be774fe93835f5b2657142dbda8186f3 (patch) | |
tree | 5c2f0184e368c62946a37ef4208dcc90f417faaa /src/Indicator.cxx | |
parent | fa93bd28150e92b485ef6f094fda8a1ba5a5ed65 (diff) | |
download | scintilla-mirror-a62e4cd6be774fe93835f5b2657142dbda8186f3.tar.gz |
Backport: Declare reading methods as noexcept where reasonable.
Backport of changeset 7482:340b721ecdf4.
Diffstat (limited to 'src/Indicator.cxx')
-rw-r--r-- | src/Indicator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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)); |