mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
replace all boost:: smart pointers by their std:: equivalents
The std variants are part of c++-2011 and it's 2014 now. (they are also available in GCC 4.4.)
This commit is contained in:
@@ -41,17 +41,16 @@
|
||||
#include <opm/core/simulator/BlackoilState.hpp>
|
||||
#include <opm/core/simulator/initState.hpp>
|
||||
|
||||
#include <boost/shared_ptr.hpp>
|
||||
|
||||
#include <memory>
|
||||
#include <algorithm>
|
||||
#include <iostream>
|
||||
|
||||
|
||||
namespace {
|
||||
boost::shared_ptr<Wells>
|
||||
std::shared_ptr<Wells>
|
||||
createWellConfig()
|
||||
{
|
||||
boost::shared_ptr<Wells> wells(create_wells(2, 2, 2),
|
||||
std::shared_ptr<Wells> wells(create_wells(2, 2, 2),
|
||||
destroy_wells);
|
||||
|
||||
const double inj_frac[] = { 1.0, 0.0 };
|
||||
@@ -98,7 +97,7 @@ try
|
||||
const Opm::BlackoilPropertiesBasic props0(param, 2, nc);
|
||||
const Opm::BlackoilPropsAd props(props0);
|
||||
|
||||
boost::shared_ptr<Wells> wells = createWellConfig();
|
||||
std::shared_ptr<Wells> wells = createWellConfig();
|
||||
|
||||
double grav[] = { 0.0, 0.0 };
|
||||
Opm::DerivedGeology geo(*g, props, grav);
|
||||
|
||||
Reference in New Issue
Block a user