IQ.Pilot Release Commit @ 661a2de

This commit is contained in:
IQ.Lvbs CI [bot]
2026-08-08 14:37:51 -05:00
parent a6c27ac169
commit a1ef7d6c80
211 changed files with 7332 additions and 2756 deletions

View File

@@ -276,6 +276,7 @@ inline void Database::parseSg(const std::string &line, int line_number, Message
signal.type = Signal::Type::Multiplexor;
} else if (!indicator.empty() && indicator.front() == 'm') {
signal.type = Signal::Type::Multiplexed;
// IQ.Pilot patch: guard a bare "m" indicator; std::stoi("") throws.
const std::string mux = indicator.substr(1);
signal.multiplex_value = mux.empty() ? 0 : std::stoi(mux);
} else {