Skip to content
Snippets Groups Projects
Commit 68320ae3 authored by Elias Pipping's avatar Elias Pipping Committed by Steffen Müthing
Browse files

Fix GCC warning by initializing the base class


(cherry picked from commit 7369e156)
Signed-off-by: default avatarSteffen Müthing <muething@dune-project.org>
parent 5b7f8b07
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment