Changed std::tr1 occurences to boost.

std::tr1 might not be supported by all compilers and will eventually
be dropped by others. Using boost instead makes this more
portable.
This commit is contained in:
Markus Blatt 2013-07-04 16:04:35 +02:00
parent 616a92cf80
commit 7ede9ec88a

View File

@ -264,7 +264,7 @@ int main ()
/// what the interface expects. The first argument is the (unique) name of the group.
/// \snippet tutorial4.cpp injection specification
/// \internal[injection specification]
std::tr1::shared_ptr<WellsGroupInterface> well_group(new WellsGroup("group", well_group_prod_spec, InjectionSpecification(),
boost::shared_ptr<WellsGroupInterface> well_group(new WellsGroup("group", well_group_prod_spec, InjectionSpecification(),
phase_usage));
/// \internal[injection specification]
/// \endinternal
@ -289,7 +289,7 @@ int main ()
well_name << "well" << i;
ProductionSpecification production_specification;
production_specification.control_mode_ = ProductionSpecification::GRUP;
std::tr1::shared_ptr<WellsGroupInterface> well_leaf_node(new WellNode(well_name.str(), production_specification, InjectionSpecification(),
boost::shared_ptr<WellsGroupInterface> well_leaf_node(new WellNode(well_name.str(), production_specification, InjectionSpecification(),
phase_usage));
well_collection.addChild(well_leaf_node, "group");