3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-06-06 06:03:23 +00:00

Removed at() method from RTLIL::IdString

This commit is contained in:
Clifford Wolf 2014-08-02 19:08:02 +02:00
parent 04727c7e0f
commit 8e7361f128
3 changed files with 7 additions and 8 deletions

View file

@ -490,9 +490,9 @@ namespace {
}
for (auto &conn : cell->connections()) {
if (conn.first.size() != 2 || conn.first.at(0) != '\\')
if (conn.first.size() != 2 || conn.first[0] != '\\')
error(__LINE__);
if (strchr(ports, conn.first.at(1)) == NULL)
if (strchr(ports, conn.first[1]) == NULL)
error(__LINE__);
}
}