diff options
author | Neil <nyamatongwe@gmail.com> | 2020-06-11 10:08:29 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2020-06-11 10:08:29 +1000 |
commit | a2931677c6e28aad5ddd56d82e5a8814746dc5fd (patch) | |
tree | d8c143a1ebcb4e91717d241c38ec43bf1da9e6ac /src/Decoration.cxx | |
parent | b34e1a6efefd7b39f14daa867510b2e2d453a0bb (diff) | |
download | scintilla-mirror-a2931677c6e28aad5ddd56d82e5a8814746dc5fd.tar.gz |
Use noexcept where safe and maintainable.
Diffstat (limited to 'src/Decoration.cxx')
-rw-r--r-- | src/Decoration.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Decoration.cxx b/src/Decoration.cxx index 39f0c62cc..ff6493f67 100644 --- a/src/Decoration.cxx +++ b/src/Decoration.cxx @@ -113,10 +113,10 @@ public: Sci::Position Start(int indicator, Sci::Position position) noexcept override; Sci::Position End(int indicator, Sci::Position position) noexcept override; - bool ClickNotified() const override { + bool ClickNotified() const noexcept override { return clickNotified; } - void SetClickNotified(bool notified) override { + void SetClickNotified(bool notified) noexcept override { clickNotified = notified; } }; |