aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Document.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Document.h')
-rw-r--r--src/Document.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Document.h b/src/Document.h
index 2f6531e9f..a76c97141 100644
--- a/src/Document.h
+++ b/src/Document.h
@@ -234,7 +234,7 @@ private:
PerLine *perLineData[ldSize];
bool matchesValid;
- RegexSearchBase *regex;
+ std::unique_ptr<RegexSearchBase> regex;
public: