mirror of
git://git.savannah.nongnu.org/eliot.git
synced 2025-02-07 08:48:26 +01:00
Fixed compilation errors with newer g++ versions
This commit is contained in:
parent
3e952e402e
commit
7832866652
1 changed files with 2 additions and 2 deletions
|
@ -34,12 +34,12 @@ public:
|
||||||
// Construct a matrix with an initial value
|
// Construct a matrix with an initial value
|
||||||
Matrix(int iSize1, int iSize2, const T &iValue)
|
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
|
// Construct a square matrix with an initial value
|
||||||
Matrix(int iSize, const T &iValue)
|
Matrix(int iSize, const T &iValue)
|
||||||
{
|
{
|
||||||
resize(iSize, vector<T>(iSize, iValue));
|
this->resize(iSize, vector<T>(iSize, iValue));
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue