diff options
author | Neil <nyamatongwe@gmail.com> | 2019-09-28 11:38:32 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2019-09-28 11:38:32 +1000 |
commit | 9b3da697dc58a65e885503bc1b3fd7eeb94543da (patch) | |
tree | 29768dd5fa768652d3cb43eee414e04ff8895886 | |
parent | 9e62956c361fe1a7cb1efab31162ac647fa962d2 (diff) | |
download | scintilla-mirror-9b3da697dc58a65e885503bc1b3fd7eeb94543da.tar.gz |
Remove virtual call in constructor to stop warnings.
Init was not needed in LineVector as each field is constructed to a good state.
This code worked correctly before this change.
-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 1d0698a89..815ac3110 100644 --- a/src/CellBuffer.cxx +++ b/src/CellBuffer.cxx @@ -139,7 +139,6 @@ class LineVector : public ILineVector { LineStartIndex<POS> startsUTF32; public: LineVector() : starts(256), perLine(nullptr) { - Init(); } // Deleted so LineVector objects can not be copied. LineVector(const LineVector &) = delete; |