aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Document.h
diff options
context:
space:
mode:
authorVicente <unknown>2017-03-06 14:54:51 +1100
committerVicente <unknown>2017-03-06 14:54:51 +1100
commit069d842392251d56167e08c005d51fa9ccc12147 (patch)
tree51d5396606bffade50d291781d5227cc404cd87d /src/Document.h
parent41c0c0f7083c0ddde020cf847cddef7894f2ded4 (diff)
downloadscintilla-mirror-069d842392251d56167e08c005d51fa9ccc12147.tar.gz
Use several C++11 features as examples so problems with these features are seen.
Features used are move constructor, unique_ptr, deleted functions, enum class, lambda expression, and range for loop.
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: