diff options
author | Lioncash <mathew1800@gmail.com> | 2019-10-16 00:21:56 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2019-10-16 00:21:59 +0200 |
commit | 67658dd6e84ca0ee04cdfd761aa1a7f5ac96cd42 (patch) | |
tree | 36714096d646ef16aca479e7fe9bcf3317b90b5d /src | |
parent | gl_shader_decompiler: Avoid unnecessary copies of MetaImage (diff) | |
download | yuzu-67658dd6e84ca0ee04cdfd761aa1a7f5ac96cd42.tar yuzu-67658dd6e84ca0ee04cdfd761aa1a7f5ac96cd42.tar.gz yuzu-67658dd6e84ca0ee04cdfd761aa1a7f5ac96cd42.tar.bz2 yuzu-67658dd6e84ca0ee04cdfd761aa1a7f5ac96cd42.tar.lz yuzu-67658dd6e84ca0ee04cdfd761aa1a7f5ac96cd42.tar.xz yuzu-67658dd6e84ca0ee04cdfd761aa1a7f5ac96cd42.tar.zst yuzu-67658dd6e84ca0ee04cdfd761aa1a7f5ac96cd42.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/video_core/shader/node.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/shader/node.h b/src/video_core/shader/node.h index 338bab17c..447fb5c1d 100644 --- a/src/video_core/shader/node.h +++ b/src/video_core/shader/node.h @@ -410,7 +410,7 @@ public: explicit OperationNode(OperationCode code) : OperationNode(code, Meta{}) {} explicit OperationNode(OperationCode code, Meta meta) - : OperationNode(code, meta, std::vector<Node>{}) {} + : OperationNode(code, std::move(meta), std::vector<Node>{}) {} explicit OperationNode(OperationCode code, std::vector<Node> operands) : OperationNode(code, Meta{}, std::move(operands)) {} |