Commit 68320ae3 authored by Elias Pipping's avatar Elias Pipping Committed by Steffen Müthing

Fix GCC warning by initializing the base class

(cherry picked from commit 7369e156)
Signed-off-by: Steffen Müthing's avatarSteffen Müthing <muething@dune-project.org>
parent 5b7f8b07
......@@ -78,7 +78,7 @@ namespace Dune {
//! Constructor making vector with identical coordinates
DynamicVector(const DynamicVector & x) :
_data(x._data)
Base(), _data(x._data)
{}
//! Move constructor
......
......@@ -116,7 +116,7 @@ namespace Dune {
}
//! Constructor making vector with identical coordinates
FieldVector (const FieldVector & x) : _data(x._data)
FieldVector (const FieldVector & x) : Base(), _data(x._data)
{}
FieldVector (std::initializer_list<K> const &l)
......@@ -248,7 +248,7 @@ namespace Dune {
//! copy constructor
FieldVector ( const FieldVector &other )
: _data( other._data )
: Base(), _data( other._data )
{}
//! Assignment operator for scalar
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment