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
commit55941c2495e7059812a4c75be8db5dfc37f18a02 (patch)
treefc432e94a9d8d09f82c225775cd9a111537c7548 /src/CellBuffer.cxx
parente9b00c67da1ed3135f5c8f0132f87668174434a9 (diff)
downloadscintilla-mirror-55941c2495e7059812a4c75be8db5dfc37f18a02.tar.gz
Remove unnecessary extra allocation.
Diffstat (limited to 'src/CellBuffer.cxx')
-rw-r--r--src/CellBuffer.cxx2
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() {