[bugfix] Make WellsManager compile with c++-11.

This commit is contained in:
Robert Kloefkorn 2016-10-21 10:43:32 +02:00
parent f889306c05
commit ca7c3070a2

View File

@ -94,8 +94,8 @@ namespace Opm
const double* permeability,
const DynamicListEconLimited& list_econ_limited,
bool is_parallel_run=false,
const std::vector<double>& well_potentials={},
const std::unordered_set<std::string>& deactivated_wells = {});
const std::vector<double>& well_potentials=std::vector<double>(),
const std::unordered_set<std::string>& deactivated_wells = std::unordered_set<std::string> ());
WellsManager(const Opm::EclipseStateConstPtr eclipseState,
const size_t timeStep,
@ -177,9 +177,9 @@ namespace Opm
template<class C2F, class FC, class NTG>
void createWellsFromSpecs( std::vector<const Well*>& wells, size_t timeStep,
const C2F& cell_to_faces,
const C2F& cell_to_faces,
const int* cart_dims,
FC begin_face_centroids,
FC begin_face_centroids,
int dimensions,
std::vector<double>& dz,
std::vector<std::string>& well_names,