mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-21 09:12:25 +08:00
Cabana: fix build error on mac (#26730)
fix build error on mac old-commit-hash: cf67ae6ac13944fd0236ac7ffa3151b8c2617229
This commit is contained in:
@@ -111,7 +111,7 @@ DBCManager *dbc() {
|
||||
|
||||
std::vector<const Signal*> DBCMsg::getSignals() const {
|
||||
std::vector<const Signal*> ret;
|
||||
for (auto &[name, sig] : sigs) ret.push_back(&sig);
|
||||
for (auto &[_, sig] : sigs) ret.push_back(&sig);
|
||||
std::sort(ret.begin(), ret.end(), [](auto l, auto r) { return l->start_bit < r->start_bit; });
|
||||
return ret;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user