diff options
| author | Neil <nyamatongwe@gmail.com> | 2020-03-19 10:15:00 +1100 |
|---|---|---|
| committer | Neil <nyamatongwe@gmail.com> | 2020-03-19 10:15:00 +1100 |
| commit | 11a47fc9bb6ec03fcc4ddb1ed9be15512fa56675 (patch) | |
| tree | a11f88a39ca75a2322263b040be46cda83b66810 /src | |
| parent | dd9ba78cf763ece6c5e3762ca852cd87e5be7fa2 (diff) | |
| download | scintilla-mirror-11a47fc9bb6ec03fcc4ddb1ed9be15512fa56675.tar.gz | |
Backport: Use noexcept in EditModel.
Backport of changeset 8013:77ef8e068676.
Diffstat (limited to 'src')
| -rw-r--r-- | src/EditModel.cxx | 2 | ||||
| -rw-r--r-- | src/EditModel.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/EditModel.cxx b/src/EditModel.cxx index 591d2c623..e55ddeb51 100644 --- a/src/EditModel.cxx +++ b/src/EditModel.cxx @@ -49,7 +49,7 @@ using namespace Scintilla; -Caret::Caret() : +Caret::Caret() noexcept : active(false), on(false), period(500) {} EditModel::EditModel() : braces{} { diff --git a/src/EditModel.h b/src/EditModel.h index 9aee35a62..2c3200881 100644 --- a/src/EditModel.h +++ b/src/EditModel.h @@ -18,7 +18,7 @@ public: bool on; int period; - Caret(); + Caret() noexcept; }; class EditModel { |
