Removed errornous swap for stack storage.

This commit is contained in:
Hauke Heibel 2013-08-03 10:09:31 +02:00
parent 8fdffdd573
commit 8710440951

View File

@ -180,7 +180,7 @@ template<typename T, int Size, int _Options> class DenseStorage<T, Size, Dynamic
m_rows = other.m_rows;
m_cols = other.m_cols;
}
other.swap(*this); return *this;
return *this;
}
DenseStorage(DenseIndex, DenseIndex nbRows, DenseIndex nbCols) : m_rows(nbRows), m_cols(nbCols) {}
void swap(DenseStorage& other)