Initialize data members in declared order.

This commit is contained in:
Atgeirr Flø Rasmussen 2012-04-12 16:52:57 +02:00
parent 5664fcd7d7
commit b6afa84a65

View File

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