Fix bug #535: unused variable warnings

This commit is contained in:
Gael Guennebaud
2012-12-16 20:21:28 +01:00
parent 6c8cf15c06
commit 925a5b7d07
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();
}