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