aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/CellBuffer.cxx
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2018-04-19 09:01:39 +1000
committerNeil <nyamatongwe@gmail.com>2018-04-19 09:01:39 +1000
commit26d93decbcd4eb304cebdbe6d1686e75205843be (patch)
tree4aaf4b8fa864270c65ec36e92da213784f613afd /src/CellBuffer.cxx
parent81c7f0b38a29e119e26d3de273611b3b18b68b86 (diff)
downloadscintilla-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.cxx1
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