Fix rawswitch decode

This commit is contained in:
elecpower
2021-12-31 10:53:10 +01:00
committed by Raphael Coeffic
parent e99e890cb4
commit 609604d141
@@ -149,7 +149,8 @@ RawSwitch YamlRawSwitchDecode(const std::string& sw_str)
}
} else {
// no match found
YAML::Node(sw_str) >> rhs.type;
rhs.index = 0;
}
if (neg) {