diff options
author | Vicente <unknown> | 2017-03-06 14:54:51 +1100 |
---|---|---|
committer | Vicente <unknown> | 2017-03-06 14:54:51 +1100 |
commit | 069d842392251d56167e08c005d51fa9ccc12147 (patch) | |
tree | 51d5396606bffade50d291781d5227cc404cd87d /src/Document.h | |
parent | 41c0c0f7083c0ddde020cf847cddef7894f2ded4 (diff) | |
download | scintilla-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.h | 2 |
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: |