diff options
author | Neil Hodgson <nyamatongwe@gmail.com> | 2018-04-14 09:18:35 +1000 |
---|---|---|
committer | Neil Hodgson <nyamatongwe@gmail.com> | 2018-04-14 09:18:35 +1000 |
commit | cc0af579fe23e74cce1fdc41ab53895cb18e396a (patch) | |
tree | 14fa25832551eb73002b67475a8b2da7532fc2a9 /src/SparseVector.h | |
parent | 0f6f1b05894d29f03bc2b57e75fe4c8a37f9ac21 (diff) | |
download | scintilla-mirror-cc0af579fe23e74cce1fdc41ab53895cb18e396a.tar.gz |
Make some changes recommended by clang-tidy.
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..11a126a1a 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::make_unique<Partitioning<Sci::Position>>(8); + values = std::make_unique<SplitVector<T>>(); values->InsertEmpty(0, 2); } ~SparseVector() { |