diff options
| author | mitchell <unknown> | 2018-05-05 21:09:21 -0400 |
|---|---|---|
| committer | mitchell <unknown> | 2018-05-05 21:09:21 -0400 |
| commit | c60d0059738eb49622dfe94e69d371856748ec18 (patch) | |
| tree | 05661173868a8404e68720bdacec575292a7a896 /src/Selection.cxx | |
| parent | 50e62c7c057261b8d1bd10c05216486549a9b604 (diff) | |
| download | scintilla-mirror-c60d0059738eb49622dfe94e69d371856748ec18.tar.gz | |
Backport: Make some changes recommended by clang-tidy.
Backport of changeset 6687:4cbf987c7590.
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; |
