From 4ac748ba2238d3abd5227918d8174507d8fa3ec1 Mon Sep 17 00:00:00 2001 From: Neil Date: Tue, 19 Mar 2019 11:52:17 +1100 Subject: Backport: Make constructors of simple classes noexcept. Backport of changeset 7324:3432fd2a959b. --- src/Selection.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Selection.cxx') 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))); } -- cgit v1.2.3