diff options
Diffstat (limited to 'src/Partitioning.h')
-rw-r--r-- | src/Partitioning.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Partitioning.h b/src/Partitioning.h index 112a543ca..57c8656c8 100644 --- a/src/Partitioning.h +++ b/src/Partitioning.h @@ -83,7 +83,7 @@ private: } void Allocate(ptrdiff_t growSize) { - body.reset(new SplitVectorWithRangeAdd<T>(growSize)); + body = std::make_unique<SplitVectorWithRangeAdd<T>>(growSize); stepPartition = 0; stepLength = 0; body->Insert(0, 0); // This value stays 0 for ever |