mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-11-24 02:35:41 +01: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...));
|
||||
}
|
||||
|
||||
template <typename... T>
|
||||
Node Operation(OperationCode code, std::vector<Node>&& operands) {
|
||||
return StoreNode(OperationNode(code, std::move(operands)));
|
||||
}
|
||||
|
||||
template <typename... T>
|
||||
Node Operation(OperationCode code, Meta&& meta, std::vector<Node>&& operands) {
|
||||
return StoreNode(OperationNode(code, std::move(meta), std::move(operands)));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user