Initialize data members in declared order.

This commit is contained in:
Atgeirr Flø Rasmussen 2012-04-12 16:52:57 +02:00
parent 6756d6b6c3
commit 608766421b

View File

@ -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)
{
}