Fixed compilation errors with newer g++ versions

This commit is contained in:
Olivier Teulière 2012-11-21 20:16:14 +01:00
parent 3e952e402e
commit 7832866652

View file

@ -34,12 +34,12 @@ public:
// Construct a matrix with an initial value
Matrix(int iSize1, int iSize2, const T &iValue)
{
resize(iSize1, vector<T>(iSize2, iValue));
this->resize(iSize1, vector<T>(iSize2, iValue));
}
// Construct a square matrix with an initial value
Matrix(int iSize, const T &iValue)
{
resize(iSize, vector<T>(iSize, iValue));
this->resize(iSize, vector<T>(iSize, iValue));
}
};