From 22f00bc95ed923d617ef52e057f4b149e1f84061 Mon Sep 17 00:00:00 2001 From: PBerger Date: Thu, 13 Jun 2013 14:59:59 +0200 Subject: [PATCH] Reordered elements of SparseMatrix.h Former-commit-id: 4af800a6077149109f3dde2d9d8f611482014590 --- src/storage/SparseMatrix.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/storage/SparseMatrix.h b/src/storage/SparseMatrix.h index e98ab9270..23e17bbe5 100644 --- a/src/storage/SparseMatrix.h +++ b/src/storage/SparseMatrix.h @@ -233,9 +233,9 @@ public: */ SparseMatrix(SparseMatrix&& other) : rowCount(other.rowCount), colCount(other.colCount), nonZeroEntryCount(other.nonZeroEntryCount), - internalStatus(other.internalStatus), currentSize(other.currentSize), lastRow(other.lastRow), valueStorage(std::move(other.valueStorage)), columnIndications(std::move(other.columnIndications)), - rowIndications(std::move(other.rowIndications)) { + rowIndications(std::move(other.rowIndications)), internalStatus(other.internalStatus), + currentSize(other.currentSize), lastRow(other.lastRow) { // Now update the source matrix other.rowCount = 0; other.colCount = 0; @@ -250,11 +250,11 @@ public: * * @param other The Matrix from which to copy the content */ - SparseMatrix(SparseMatrix const& other) + SparseMatrix(const SparseMatrix & other) : rowCount(other.rowCount), colCount(other.colCount), nonZeroEntryCount(other.nonZeroEntryCount), - internalStatus(other.internalStatus), currentSize(other.currentSize), valueStorage(other.valueStorage), columnIndications(other.columnIndications), - rowIndications(other.rowIndications), lastRow(other.lastRow) { + rowIndications(other.rowIndications), internalStatus(other.internalStatus), + currentSize(other.currentSize), lastRow(other.lastRow) { } /*!