diff options
author | mitchell <unknown> | 2018-05-05 21:09:21 -0400 |
---|---|---|
committer | mitchell <unknown> | 2018-05-05 21:09:21 -0400 |
commit | c60d0059738eb49622dfe94e69d371856748ec18 (patch) | |
tree | 05661173868a8404e68720bdacec575292a7a896 /src/SparseVector.h | |
parent | 50e62c7c057261b8d1bd10c05216486549a9b604 (diff) | |
download | scintilla-mirror-c60d0059738eb49622dfe94e69d371856748ec18.tar.gz |
Backport: Make some changes recommended by clang-tidy.
Backport of changeset 6687:4cbf987c7590.
Diffstat (limited to 'src/SparseVector.h')
-rw-r--r-- | src/SparseVector.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/SparseVector.h b/src/SparseVector.h index 867409895..1b59f3570 100644 --- a/src/SparseVector.h +++ b/src/SparseVector.h @@ -26,8 +26,8 @@ private: } public: SparseVector() : empty() { - starts.reset(new Partitioning<Sci::Position>(8)); - values.reset(new SplitVector<T>()); + starts = std::unique_ptr<Partitioning<Sci::Position>>(new Partitioning<Sci::Position>(8)); + values = std::unique_ptr<SplitVector<T>>(new SplitVector<T>()); values->InsertEmpty(0, 2); } ~SparseVector() { |