Newer
Older
--- UuidAndMode.cpp 2024-09-19 23:00:03.766677271 +0200
+++ UuidAndMode_corrected.cpp 2024-09-19 23:02:48.899142341 +0200
@@ -64,6 +64,7 @@
ptree pt;
ptree tmp_node;
pt.put("uuid", m_Uuid);
+ pt.put("mode", m_Mode.getEnumValue());
return pt;
}
@@ -71,6 +72,7 @@
{
ptree tmp_node;
m_Uuid = pt.get("uuid", "");
+ m_Mode.setEnumValue(pt.get("mode",""));
}
std::string UuidAndMode::getUuid() const