From 6a96abeb05a35a64b01154176d2c1d6a8622d3f3 Mon Sep 17 00:00:00 2001 From: Neil Date: Sat, 28 Sep 2024 08:08:15 +1000 Subject: Remove private field that was never used. --- src/Document.cxx | 2 -- src/Document.h | 1 - 2 files changed, 3 deletions(-) diff --git a/src/Document.cxx b/src/Document.cxx index 88b876ebd..319cc37e1 100644 --- a/src/Document.cxx +++ b/src/Document.cxx @@ -167,8 +167,6 @@ Document::Document(DocumentOption options) : tabIndents = true; backspaceUnindents = false; - matchesValid = false; - perLineData[ldMarkers] = std::make_unique(); perLineData[ldLevels] = std::make_unique(); perLineData[ldState] = std::make_unique(); diff --git a/src/Document.h b/src/Document.h index fa1c3fe42..01c608d0e 100644 --- a/src/Document.h +++ b/src/Document.h @@ -301,7 +301,6 @@ private: LineAnnotation *Annotations() const noexcept; LineAnnotation *EOLAnnotations() const noexcept; - bool matchesValid; std::unique_ptr regex; std::unique_ptr pli; -- cgit v1.2.3