Fix bug #535: unused variable warnings

(transplanted from 925a5b7d07
)
This commit is contained in:
Gael Guennebaud
2012-12-16 20:21:28 +01:00
parent 45ccaacc54
commit ac406a7685
3 changed files with 3 additions and 3 deletions

View File

@@ -202,7 +202,7 @@ class SparseVector
}
inline SparseVector(const SparseVector& other)
: m_size(0)
: SparseBase(other), m_size(0)
{
*this = other.derived();
}