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 | 55941c2495e7059812a4c75be8db5dfc37f18a02 (patch) | |
tree | fc432e94a9d8d09f82c225775cd9a111537c7548 /src/CellBuffer.cxx | |
parent | e9b00c67da1ed3135f5c8f0132f87668174434a9 (diff) | |
download | scintilla-mirror-55941c2495e7059812a4c75be8db5dfc37f18a02.tar.gz |
Remove unnecessary extra allocation.
Diffstat (limited to 'src/CellBuffer.cxx')
-rw-r--r-- | src/CellBuffer.cxx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/CellBuffer.cxx b/src/CellBuffer.cxx index fcc75a741..357d37994 100644 --- a/src/CellBuffer.cxx +++ b/src/CellBuffer.cxx @@ -369,12 +369,10 @@ CellBuffer::CellBuffer(bool hasStyles_, bool largeDocument_) : readOnly = false; utf8LineEnds = 0; collectingUndo = true; - plv = std::make_unique<LineVector<Sci::Position>>(); if (largeDocument) plv = std::make_unique<LineVector<Sci::Position>>(); else plv = std::make_unique<LineVector<int>>(); - } CellBuffer::~CellBuffer() { |