mirror of
https://git.suyu.dev/suyu/sirit.git
synced 2024-12-22 04:02:03 +00:00
op: Silence -Wshadow warning
This commit is contained in:
parent
38e0d00cde
commit
88d37bedf0
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ void Op::Add(std::string string) {
|
|||
}
|
||||
|
||||
void Op::Add(const std::vector<Id>& ids) {
|
||||
assert(std::all_of(ids.begin(), ids.end(), [](auto id) { return id; }));
|
||||
assert(std::all_of(ids.begin(), ids.end(), [](auto id_) { return id_; }));
|
||||
operands.insert(operands.end(), ids.begin(), ids.end());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue