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