Code indexing in gitaly is broken and leads to code not being visible to the user. We work on the issue with highest priority.

Skip to content
Snippets Groups Projects
Commit 48f1fa2f authored by frey_m's avatar frey_m
Browse files

Fix -Wreorder error

parent e5acb7fa
No related branches found
No related tags found
No related merge requests found
...@@ -4,9 +4,9 @@ ...@@ -4,9 +4,9 @@
AmrPartBunch::AmrPartBunch(const PartData *ref) AmrPartBunch::AmrPartBunch(const PartData *ref)
: PartBunchBase<double, 3>(new AmrPartBunch::pbase_t(new AmrLayout_t()), ref), : PartBunchBase<double, 3>(new AmrPartBunch::pbase_t(new AmrLayout_t()), ref),
fieldlayout_m(nullptr),
amrobj_mp(nullptr), amrobj_mp(nullptr),
amrpbase_mp(dynamic_cast<AmrPartBunch::pbase_t*>(pbase)) amrpbase_mp(dynamic_cast<AmrPartBunch::pbase_t*>(pbase)),
fieldlayout_m(nullptr)
{ {
amrpbase_mp->initializeAmr(); amrpbase_mp->initializeAmr();
} }
...@@ -15,9 +15,9 @@ AmrPartBunch::AmrPartBunch(const PartData *ref) ...@@ -15,9 +15,9 @@ AmrPartBunch::AmrPartBunch(const PartData *ref)
AmrPartBunch::AmrPartBunch(const std::vector<OpalParticle> &rhs, AmrPartBunch::AmrPartBunch(const std::vector<OpalParticle> &rhs,
const PartData *ref) const PartData *ref)
: PartBunchBase<double, 3>(new AmrPartBunch::pbase_t(new AmrLayout_t()), rhs, ref), : PartBunchBase<double, 3>(new AmrPartBunch::pbase_t(new AmrLayout_t()), rhs, ref),
fieldlayout_m(nullptr),
amrobj_mp(nullptr), amrobj_mp(nullptr),
amrpbase_mp(dynamic_cast<AmrPartBunch::pbase_t*>(pbase)) amrpbase_mp(dynamic_cast<AmrPartBunch::pbase_t*>(pbase)),
fieldlayout_m(nullptr)
{ {
amrpbase_mp->initializeAmr(); amrpbase_mp->initializeAmr();
} }
...@@ -25,9 +25,9 @@ AmrPartBunch::AmrPartBunch(const std::vector<OpalParticle> &rhs, ...@@ -25,9 +25,9 @@ AmrPartBunch::AmrPartBunch(const std::vector<OpalParticle> &rhs,
AmrPartBunch::AmrPartBunch(const AmrPartBunch &rhs) AmrPartBunch::AmrPartBunch(const AmrPartBunch &rhs)
: PartBunchBase<double, 3>(rhs), : PartBunchBase<double, 3>(rhs),
fieldlayout_m(nullptr),
amrobj_mp(nullptr), amrobj_mp(nullptr),
amrpbase_mp(dynamic_cast<AmrPartBunch::pbase_t*>(pbase)) amrpbase_mp(dynamic_cast<AmrPartBunch::pbase_t*>(pbase)),
fieldlayout_m(nullptr)
{ {
amrpbase_mp->initializeAmr(); amrpbase_mp->initializeAmr();
} }
......
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