aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/SparseVector.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/SparseVector.h')
-rw-r--r--src/SparseVector.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/SparseVector.h b/src/SparseVector.h
index 20fa56cca..c81170c4b 100644
--- a/src/SparseVector.h
+++ b/src/SparseVector.h
@@ -19,8 +19,8 @@ class SparseVector {
private:
Partitioning *starts;
SplitVector<T> *values;
- // Private so SparseVector objects can not be copied
- SparseVector(const SparseVector &);
+ // Deleted so SparseVector objects can not be copied
+ SparseVector(const SparseVector &) = delete;
void ClearValue(int partition) {
values->SetValueAt(partition, T());
}