mirror of
https://git.suyu.dev/suyu/sirit.git
synced 2026-03-08 08:12:56 +00:00
op: Silence -Wshadow warning
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user