aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Selection.cxx
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2019-03-19 11:52:17 +1100
committerNeil <nyamatongwe@gmail.com>2019-03-19 11:52:17 +1100
commit37e58367e8b48e53032f1849de570668811e81fb (patch)
treeda1df333b21ac0d19600ab4c990c539cda30bed3 /src/Selection.cxx
parent79299db113ee3a2390235cf2d81b949076d6a4ad (diff)
downloadscintilla-mirror-37e58367e8b48e53032f1849de570668811e81fb.tar.gz
Make constructors of simple classes noexcept.
Diffstat (limited to 'src/Selection.cxx')
-rw-r--r--src/Selection.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Selection.cxx b/src/Selection.cxx
index dbb3afc5c..105b93315 100644
--- a/src/Selection.cxx
+++ b/src/Selection.cxx
@@ -177,7 +177,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)));
}