Rename bad overload Add to Sink
This commit is contained in:
parent
4da63b4ed5
commit
951ef21f17
2 changed files with 2 additions and 2 deletions
|
@ -60,7 +60,7 @@ void Op::Write(Stream& stream) const {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void Op::Add(Operand* operand) {
|
void Op::Sink(Operand* operand) {
|
||||||
Add(static_cast<const Operand*>(operand));
|
Add(static_cast<const Operand*>(operand));
|
||||||
operand_store.push_back(std::unique_ptr<Operand>(operand));
|
operand_store.push_back(std::unique_ptr<Operand>(operand));
|
||||||
}
|
}
|
||||||
|
|
2
src/op.h
2
src/op.h
|
@ -27,7 +27,7 @@ class Op : public Operand {
|
||||||
|
|
||||||
void Write(Stream& stream) const;
|
void Write(Stream& stream) const;
|
||||||
|
|
||||||
void Add(Operand* operand);
|
void Sink(Operand* operand);
|
||||||
|
|
||||||
void Add(const Operand* operand);
|
void Add(const Operand* operand);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue