Change Vector constructor code from call to vConcat() to call to this->vConcat(). This allows us to compile under gcc 4.8.1 (Ubuntu 13.10's compiler). This is more consistent with the C++ language definition of calling a base construtor from inside a derived constructor.
This commit is contained in:
parent
abec8dabb6
commit
00294a9fbd
2
Vector.h
2
Vector.h
|
@ -340,7 +340,7 @@ template <class T> class Vector : public VectorBase<T>
|
||||||
/** Build a Vector by concatenation. */
|
/** Build a Vector by concatenation. */
|
||||||
Vector(const Vector<T>& other1, const Vector<T>& other2):VectorBase<T>() {
|
Vector(const Vector<T>& other1, const Vector<T>& other2):VectorBase<T>() {
|
||||||
assert(this->mData == 0);
|
assert(this->mData == 0);
|
||||||
vConcat(other1,other2);
|
this->vConcat(other1,other2);
|
||||||
}
|
}
|
||||||
|
|
||||||
//@{
|
//@{
|
||||||
|
|
Loading…
Reference in New Issue