From cc0af579fe23e74cce1fdc41ab53895cb18e396a Mon Sep 17 00:00:00 2001 From: Neil Hodgson Date: Sat, 14 Apr 2018 09:18:35 +1000 Subject: Make some changes recommended by clang-tidy. --- src/SparseVector.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/SparseVector.h') 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(8)); - values.reset(new SplitVector()); + starts = std::make_unique>(8); + values = std::make_unique>(); values->InsertEmpty(0, 2); } ~SparseVector() { -- cgit v1.2.3