aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/CellBuffer.cxx
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2019-09-28 11:38:32 +1000
committerNeil <nyamatongwe@gmail.com>2019-09-28 11:38:32 +1000
commit9c82c19d90ed7fc7982005cdf15d2a7b7ad68fb2 (patch)
treeb4a21b64be2310e0fb560c39ecd7b191955636ce /src/CellBuffer.cxx
parentd120df30e5d7e4b6f23353803d271fa0425bc3cd (diff)
downloadscintilla-mirror-9c82c19d90ed7fc7982005cdf15d2a7b7ad68fb2.tar.gz
Backport: 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. Backport of changeset 7694:513236f5ecd3.
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 98ba435d6..48e986e43 100644
--- a/src/CellBuffer.cxx
+++ b/src/CellBuffer.cxx
@@ -138,7 +138,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;