diff options
author | Neil <nyamatongwe@gmail.com> | 2017-05-10 13:58:06 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2017-05-10 13:58:06 +1000 |
commit | 91c4a9ff07821dce93dab3ffd77df081893b723d (patch) | |
tree | 04717f8b9f4c64280f07cc6c2d402e2753700683 /src/RunStyles.h | |
parent | 1d41f1635e3a01bd99f0beb689c4d3ff6fea6e30 (diff) | |
download | scintilla-mirror-91c4a9ff07821dce93dab3ffd77df081893b723d.tar.gz |
Use unique_ptr fpr Partitioning, RunStyles, SparseVector, PositionCache and
Document.
Diffstat (limited to 'src/RunStyles.h')
-rw-r--r-- | src/RunStyles.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/RunStyles.h b/src/RunStyles.h index bc5213c5a..1c8ef301d 100644 --- a/src/RunStyles.h +++ b/src/RunStyles.h @@ -16,8 +16,8 @@ namespace Scintilla { class RunStyles { private: - Partitioning *starts; - SplitVector<int> *styles; + std::unique_ptr<Partitioning> starts; + std::unique_ptr<SplitVector<int>> styles; int RunFromPosition(int position) const; int SplitRun(int position); void RemoveRun(int run); |