diff options
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 f6e4bdad0..dc4d179d9 100644 --- a/src/Selection.cxx +++ b/src/Selection.cxx @@ -403,7 +403,7 @@ Sci::Position Selection::VirtualSpaceFor(Sci::Position pos) const { void Selection::Clear() { ranges.clear(); - ranges.push_back(SelectionRange()); + ranges.emplace_back(); mainRange = ranges.size() - 1; selType = selStream; moveExtends = false; |