Skip to content
Snippets Groups Projects
Commit d1e6af64 authored by Max Kahnt's avatar Max Kahnt Committed by Jonathan Youett
Browse files

Fix warnings w.r.t. initialization order.

parent 0d0f24d4
Branches
No related tags found
No related merge requests found
......@@ -165,8 +165,8 @@ public:
/** \brief Copy constructor */
SubGridHierarchicLeafFaceIterator(const SubGridHierarchicLeafFaceIterator& other) :
Base(other.subGrid_),
intersect_(other.intersect_),
fatherFace_(other.fatherFace_),
intersect_(other.intersect_),
stack_(other.stack_),
flag_(other.flag_)
{}
......@@ -174,8 +174,8 @@ public:
/** \brief Move constructor */
SubGridHierarchicLeafFaceIterator(SubGridHierarchicLeafFaceIterator&& other) :
Base(other.subGrid_),
intersect_(std::move(other.intersect_)),
fatherFace_(std::move(other.fatherFace_)),
intersect_(std::move(other.intersect_)),
stack_(std::move(other.stack_)),
flag_(other.flag_)
{}
......@@ -184,8 +184,8 @@ public:
/** \brief Assignement operator */
SubGridHierarchicLeafFaceIterator& operator=(const SubGridHierarchicLeafFaceIterator& other)
{
intersect_ = other.intersect_;
fatherFace_ = other.fatherFace_;
intersect_ = other.intersect_;
stack_ = other.stack_;
flag_ = other.flag_;
......@@ -195,8 +195,8 @@ public:
/** \brief Assignement operator */
SubGridHierarchicLeafFaceIterator& operator=(SubGridHierarchicLeafFaceIterator&& other)
{
intersect_ = std::move(other.intersect_);
fatherFace_ = std::move(other.fatherFace_);
intersect_ = std::move(other.intersect_);
stack_ = std::move(other.stack_);
flag_ = other.flag_;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment