aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/CellBuffer.cxx
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2019-11-01 12:40:13 +1100
committerNeil <nyamatongwe@gmail.com>2019-11-01 12:40:13 +1100
commit16b9ac336b766f1fd394d77d40611a4875162930 (patch)
treeaea52a4196eefcd583a6d621727a91e5b8329550 /src/CellBuffer.cxx
parenteccf9236ba151b0ca896af5abf4c2fbc166b587f (diff)
downloadscintilla-mirror-16b9ac336b766f1fd394d77d40611a4875162930.tar.gz
Backport: Avoid calling vector::shrink_to_fit in destructors as it is not noexcept.
The destructors of the members will ensure that everything is correct. Potential unhandled exceptions reported by Coverity. Backport of changeset 7749:329a8e9986a0.
Diffstat (limited to 'src/CellBuffer.cxx')
-rw-r--r--src/CellBuffer.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/CellBuffer.cxx b/src/CellBuffer.cxx
index 48e986e43..3257e0e6b 100644
--- a/src/CellBuffer.cxx
+++ b/src/CellBuffer.cxx
@@ -98,7 +98,6 @@ public:
void operator=(const LineStartIndex &) = delete;
void operator=(LineStartIndex &&) = delete;
virtual ~LineStartIndex() {
- starts.DeleteAll();
}
bool Allocate(Sci::Line lines) {
refCount++;