From 7d7d4e120999de66e4fc882f3d6224603ccb306f Mon Sep 17 00:00:00 2001 From: Neil Date: Thu, 1 Feb 2018 09:07:21 +1100 Subject: Backport: Templatize Partitioning so it can hold different types. Backport of changeset 6444:1bd57324aa36. --- src/ContractionState.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ContractionState.cxx') diff --git a/src/ContractionState.cxx b/src/ContractionState.cxx index 3c76d40d1..a9db134bc 100644 --- a/src/ContractionState.cxx +++ b/src/ContractionState.cxx @@ -39,7 +39,7 @@ void ContractionState::EnsureData() { expanded.reset(new RunStyles()); heights.reset(new RunStyles()); foldDisplayTexts.reset(new SparseVector()); - displayLines.reset(new Partitioning(4)); + displayLines.reset(new Partitioning(4)); InsertLines(0, linesInDocument); } } -- cgit v1.2.3