From 9c82c19d90ed7fc7982005cdf15d2a7b7ad68fb2 Mon Sep 17 00:00:00 2001 From: Neil Date: Sat, 28 Sep 2019 11:38:32 +1000 Subject: 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. --- src/CellBuffer.cxx | 1 - 1 file changed, 1 deletion(-) (limited to 'src/CellBuffer.cxx') 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 startsUTF32; public: LineVector() : starts(256), perLine(nullptr) { - Init(); } // Deleted so LineVector objects can not be copied. LineVector(const LineVector &) = delete; -- cgit v1.2.3