mirror of
https://gitlab.com/suyu-emu/suyu.git
synced 2024-03-15 23:15:44 +00:00
shader/shader_ir: Remove unnecessary template parameter packs from Operation() overloads where applicable
These overloads don't actually make use of the parameter pack, so they can be turned into regular non-template function overloads.
This commit is contained in:
parent
e09ee0ff23
commit
81e7e63080
|
@ -833,12 +833,10 @@ private:
|
||||||
return StoreNode(OperationNode(code, std::move(meta), operands...));
|
return StoreNode(OperationNode(code, std::move(meta), operands...));
|
||||||
}
|
}
|
||||||
|
|
||||||
template <typename... T>
|
|
||||||
Node Operation(OperationCode code, std::vector<Node>&& operands) {
|
Node Operation(OperationCode code, std::vector<Node>&& operands) {
|
||||||
return StoreNode(OperationNode(code, std::move(operands)));
|
return StoreNode(OperationNode(code, std::move(operands)));
|
||||||
}
|
}
|
||||||
|
|
||||||
template <typename... T>
|
|
||||||
Node Operation(OperationCode code, Meta&& meta, std::vector<Node>&& operands) {
|
Node Operation(OperationCode code, Meta&& meta, std::vector<Node>&& operands) {
|
||||||
return StoreNode(OperationNode(code, std::move(meta), std::move(operands)));
|
return StoreNode(OperationNode(code, std::move(meta), std::move(operands)));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue