diff options
author | Neil <nyamatongwe@gmail.com> | 2019-03-19 11:52:17 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2019-03-19 11:52:17 +1100 |
commit | 4ac748ba2238d3abd5227918d8174507d8fa3ec1 (patch) | |
tree | 0a854c5820c299f591e6366ee8d22359e935f9c9 /src/Selection.cxx | |
parent | 5c9c8f89c962785bcaac84e9a9c22d7976a03784 (diff) | |
download | scintilla-mirror-4ac748ba2238d3abd5227918d8174507d8fa3ec1.tar.gz |
Backport: Make constructors of simple classes noexcept.
Backport of changeset 7324:3432fd2a959b.
Diffstat (limited to 'src/Selection.cxx')
-rw-r--r-- | src/Selection.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Selection.cxx b/src/Selection.cxx index c8c567fcb..db13a55ad 100644 --- a/src/Selection.cxx +++ b/src/Selection.cxx @@ -176,7 +176,7 @@ void SelectionRange::MinimizeVirtualSpace() { } } -Selection::Selection() : mainRange(0), moveExtends(false), tentativeMain(false), selType(selStream) { +Selection::Selection() noexcept : mainRange(0), moveExtends(false), tentativeMain(false), selType(selStream) { AddSelection(SelectionRange(SelectionPosition(0))); } |