From 36e4a162b950bcee61f0fe27cbacd3e85a7bdb55 Mon Sep 17 00:00:00 2001 From: Neil Date: Thu, 1 Feb 2018 09:22:14 +1100 Subject: Templatize RunStyles so it can be over ranges of different types and contain different style types. Currently only instantiated over . --- src/ContractionState.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/ContractionState.cxx') diff --git a/src/ContractionState.cxx b/src/ContractionState.cxx index a9db134bc..8777e4af9 100644 --- a/src/ContractionState.cxx +++ b/src/ContractionState.cxx @@ -35,9 +35,9 @@ ContractionState::~ContractionState() { void ContractionState::EnsureData() { if (OneToOne()) { - visible.reset(new RunStyles()); - expanded.reset(new RunStyles()); - heights.reset(new RunStyles()); + visible.reset(new RunStyles()); + expanded.reset(new RunStyles()); + heights.reset(new RunStyles()); foldDisplayTexts.reset(new SparseVector()); displayLines.reset(new Partitioning(4)); InsertLines(0, linesInDocument); -- cgit v1.2.3