summaryrefslogtreecommitdiffstats
path: root/src/video_core/shader/node_helper.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2019-07-18 19:52:01 +0200
committerGitHub <noreply@github.com>2019-07-18 19:52:01 +0200
commit63bda67a342cf0516501fb30a24452ce9944caa0 (patch)
treefdd92aac366c60923a9ae451baa78b33a1a8425f /src/video_core/shader/node_helper.cpp
parentMerge pull request #2741 from FernandoS27/trace-log (diff)
parentshader_ir: std::move Node instance where applicable (diff)
downloadyuzu-63bda67a342cf0516501fb30a24452ce9944caa0.tar
yuzu-63bda67a342cf0516501fb30a24452ce9944caa0.tar.gz
yuzu-63bda67a342cf0516501fb30a24452ce9944caa0.tar.bz2
yuzu-63bda67a342cf0516501fb30a24452ce9944caa0.tar.lz
yuzu-63bda67a342cf0516501fb30a24452ce9944caa0.tar.xz
yuzu-63bda67a342cf0516501fb30a24452ce9944caa0.tar.zst
yuzu-63bda67a342cf0516501fb30a24452ce9944caa0.zip
Diffstat (limited to '')
-rw-r--r--src/video_core/shader/node_helper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/shader/node_helper.cpp b/src/video_core/shader/node_helper.cpp
index 6fccbbba3..b3dcd291c 100644
--- a/src/video_core/shader/node_helper.cpp
+++ b/src/video_core/shader/node_helper.cpp
@@ -12,7 +12,7 @@
namespace VideoCommon::Shader {
Node Conditional(Node condition, std::vector<Node> code) {
- return MakeNode<ConditionalNode>(condition, std::move(code));
+ return MakeNode<ConditionalNode>(std::move(condition), std::move(code));
}
Node Comment(std::string text) {