diff options
author | Neil <nyamatongwe@gmail.com> | 2018-04-19 09:01:39 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2018-04-19 09:01:39 +1000 |
commit | 26d93decbcd4eb304cebdbe6d1686e75205843be (patch) | |
tree | 4aaf4b8fa864270c65ec36e92da213784f613afd /src/CellBuffer.cxx | |
parent | 81c7f0b38a29e119e26d3de273611b3b18b68b86 (diff) | |
download | scintilla-mirror-26d93decbcd4eb304cebdbe6d1686e75205843be.tar.gz |
Backport: Remove unnecessary extra allocation.
Backport of changeset 6702:785f4abd19b6.
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 41dd36b56..777cfe100 100644 --- a/src/CellBuffer.cxx +++ b/src/CellBuffer.cxx @@ -369,7 +369,6 @@ CellBuffer::CellBuffer(bool hasStyles_, bool largeDocument_) : readOnly = false; utf8LineEnds = 0; collectingUndo = true; - plv = std::unique_ptr<LineVector<Sci::Position>>(new LineVector<Sci::Position>()); if (largeDocument) plv = std::unique_ptr<LineVector<Sci::Position>>(new LineVector<Sci::Position>()); else |