diff options
author | Neil Hodgson <nyamatongwe@gmail.com> | 2018-04-14 09:18:35 +1000 |
---|---|---|
committer | Neil Hodgson <nyamatongwe@gmail.com> | 2018-04-14 09:18:35 +1000 |
commit | cc0af579fe23e74cce1fdc41ab53895cb18e396a (patch) | |
tree | 14fa25832551eb73002b67475a8b2da7532fc2a9 /src/Selection.cxx | |
parent | 0f6f1b05894d29f03bc2b57e75fe4c8a37f9ac21 (diff) | |
download | scintilla-mirror-cc0af579fe23e74cce1fdc41ab53895cb18e396a.tar.gz |
Make some changes recommended by clang-tidy.
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; |