Initialize data members in declared order.
This commit is contained in:
parent
5664fcd7d7
commit
b6afa84a65
@ -13,10 +13,10 @@ namespace Opm
|
|||||||
WellsGroupInterface::WellsGroupInterface(const std::string& myname,
|
WellsGroupInterface::WellsGroupInterface(const std::string& myname,
|
||||||
ProductionSpecification prod_spec,
|
ProductionSpecification prod_spec,
|
||||||
InjectionSpecification inje_spec)
|
InjectionSpecification inje_spec)
|
||||||
: name_(myname),
|
: parent_(NULL),
|
||||||
|
name_(myname),
|
||||||
production_specification_(prod_spec),
|
production_specification_(prod_spec),
|
||||||
injection_specification_(inje_spec),
|
injection_specification_(inje_spec)
|
||||||
parent_(NULL)
|
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user