mirror of
https://github.com/yuzu-emu/sirit.git
synced 2024-12-23 00:35:38 +00:00
op: Silence -Wshadow warning
This commit is contained in:
parent
38e0d00cde
commit
88d37bedf0
|
@ -113,7 +113,7 @@ void Op::Add(std::string string) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void Op::Add(const std::vector<Id>& ids) {
|
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());
|
operands.insert(operands.end(), ids.begin(), ids.end());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue