mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-18 21:43:27 -06:00
Initialize data members in declared order.
This commit is contained in:
parent
6756d6b6c3
commit
608766421b
@ -13,10 +13,10 @@ namespace Opm
|
||||
WellsGroupInterface::WellsGroupInterface(const std::string& myname,
|
||||
ProductionSpecification prod_spec,
|
||||
InjectionSpecification inje_spec)
|
||||
: name_(myname),
|
||||
: parent_(NULL),
|
||||
name_(myname),
|
||||
production_specification_(prod_spec),
|
||||
injection_specification_(inje_spec),
|
||||
parent_(NULL)
|
||||
injection_specification_(inje_spec)
|
||||
{
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user