diff options
author | Clifford Wolf <clifford@clifford.at> | 2014-08-02 19:08:02 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2014-08-02 19:08:02 +0200 |
commit | 8e7361f128ce00a742412931efcf7cbe5795a39a (patch) | |
tree | c3dc8f179ba5c9b5ce0ea9791d37476d42d26dde /kernel/rtlil.cc | |
parent | 04727c7e0fb4c00b38999da192e4ada2a6f9474a (diff) | |
download | yosys-8e7361f128ce00a742412931efcf7cbe5795a39a.tar.gz yosys-8e7361f128ce00a742412931efcf7cbe5795a39a.tar.bz2 yosys-8e7361f128ce00a742412931efcf7cbe5795a39a.zip |
Removed at() method from RTLIL::IdString
Diffstat (limited to 'kernel/rtlil.cc')
-rw-r--r-- | kernel/rtlil.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/rtlil.cc b/kernel/rtlil.cc index 2838449bb..56c631f3b 100644 --- a/kernel/rtlil.cc +++ b/kernel/rtlil.cc @@ -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__); } } |