GConSump/Sale: using default constructor.

This commit is contained in:
Steinar Foss
2019-11-07 09:42:41 +01:00
parent f75c3921e5
commit d86ea3cb30
4 changed files with 2 additions and 9 deletions

View File

@@ -39,7 +39,7 @@ namespace Opm {
MaxProcedure max_proc;
};
GConSale();
GConSale() = default;
bool has(const std::string& name) const;
const GCONSALEGroup& get(const std::string& name) const;

View File

@@ -29,7 +29,7 @@ namespace Opm {
class GConSump {
public:
GConSump();
GConSump() = default;
struct GCONSUMPGroup {
UDAValue consumption_rate;

View File

@@ -23,9 +23,6 @@
namespace Opm {
GConSale::GConSale() {
}
bool GConSale::has(const std::string& name) const {
return (groups.find(name) != groups.end());
}

View File

@@ -21,10 +21,6 @@
namespace Opm {
GConSump::GConSump() {
}
bool GConSump::has(const std::string& name) const {
return (groups.find(name) != groups.end());
}