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:
Markus Blatt
2019-10-11 13:48:56 +02:00
parent 04eb33771c
commit c379e7e3b0

View File

@@ -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),