Make RestartKey default contructable.
Otherwise we cannot even resize a vector of it and this will be needed for restart when getting rid off the global grid on all processes.
This commit is contained in:
@@ -34,7 +34,9 @@ namespace Opm {
|
||||
|
||||
std::string key;
|
||||
UnitSystem::measure dim;
|
||||
bool required;
|
||||
bool required = false;
|
||||
|
||||
RestartKey() = default;
|
||||
|
||||
RestartKey( const std::string& _key, UnitSystem::measure _dim)
|
||||
: key(_key),
|
||||
|
||||
Reference in New Issue
Block a user