fixed: missing member initialization

if deck has no rockcomp keyword, variable is not written
This commit is contained in:
Arne Morten Kvarving
2021-04-23 22:18:52 +02:00
committed by Tor Harald Sandve
parent 1415d849de
commit 678676484b

View File

@@ -87,8 +87,8 @@ struct RockComp {
private:
bool m_active = false;
std::vector<RockComp> m_comp;
std::string num_property = ParserKeywords::ROCKOPTS::TABLE_TYPE::defaultValue;
std::size_t num_tables = ParserKeywords::ROCKCOMP::NTROCC::defaultValue;
std::string num_property;
std::size_t num_tables = 0;
bool m_water_compaction = false;
Hysteresis hyst_mode = Hysteresis::REVERS;
};