diff options
| author | Neil <nyamatongwe@gmail.com> | 2019-11-01 12:40:13 +1100 | 
|---|---|---|
| committer | Neil <nyamatongwe@gmail.com> | 2019-11-01 12:40:13 +1100 | 
| commit | a975005246dc972de1e61d866fd4dfe617c89ab2 (patch) | |
| tree | 3bedcaa5dc1a6da66ca077f4e2494c90ab417a0b /src/CellBuffer.cxx | |
| parent | d8e9ecabed7e11bb9c896b54b4455305c3c6a42e (diff) | |
| download | scintilla-mirror-a975005246dc972de1e61d866fd4dfe617c89ab2.tar.gz | |
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.
Diffstat (limited to 'src/CellBuffer.cxx')
| -rw-r--r-- | src/CellBuffer.cxx | 1 | 
1 files changed, 0 insertions, 1 deletions
| diff --git a/src/CellBuffer.cxx b/src/CellBuffer.cxx index 815ac3110..80dc02d64 100644 --- a/src/CellBuffer.cxx +++ b/src/CellBuffer.cxx @@ -99,7 +99,6 @@ public:  	void operator=(const LineStartIndex &) = delete;  	void operator=(LineStartIndex &&) = delete;  	virtual ~LineStartIndex() { -		starts.DeleteAll();  	}  	bool Allocate(Sci::Line lines) {  		refCount++; | 
