diff --git a/opm/core/wells/WellsManager.hpp b/opm/core/wells/WellsManager.hpp index 56e2526a4..cd5b8e170 100644 --- a/opm/core/wells/WellsManager.hpp +++ b/opm/core/wells/WellsManager.hpp @@ -94,8 +94,8 @@ namespace Opm const double* permeability, const DynamicListEconLimited& list_econ_limited, bool is_parallel_run=false, - const std::vector& well_potentials={}, - const std::unordered_set& deactivated_wells = {}); + const std::vector& well_potentials=std::vector(), + const std::unordered_set& deactivated_wells = std::unordered_set ()); WellsManager(const Opm::EclipseStateConstPtr eclipseState, const size_t timeStep, @@ -177,9 +177,9 @@ namespace Opm template void createWellsFromSpecs( std::vector& 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& dz, std::vector& well_names,