Schedule::getGroup returns reference, not pointer

This commit is contained in:
Jørgen Kvalsvik
2016-10-05 15:24:14 +02:00
parent 6a1ad6f3fe
commit 3c2ebf9cfd
7 changed files with 53 additions and 53 deletions

View File

@@ -36,11 +36,11 @@ namespace Opm
{
public:
void addField(const Group* fieldGroup, size_t timeStep, const PhaseUsage& phaseUsage);
void addField(const Group& fieldGroup, size_t timeStep, const PhaseUsage& phaseUsage);
void addWell(const Well* wellChild, size_t timeStep, const PhaseUsage& phaseUsage);
void addGroup(const Group* groupChild, std::string parent_name,
void addGroup(const Group& groupChild, std::string parent_name,
size_t timeStep, const PhaseUsage& phaseUsage);
/// Adds the child to the collection