summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-07-16 17:52:08 +0200
committerLioncash <mathew1800@gmail.com>2019-07-19 03:03:30 +0200
commita162a844d2ede2b13d4a52f2dae37980be91cb1a (patch)
treeb262ff3437cbadd73dda65a022c9228e0732d043 /src/video_core
parentvideo_core/control_flow: Use std::move where applicable (diff)
downloadyuzu-a162a844d2ede2b13d4a52f2dae37980be91cb1a.tar
yuzu-a162a844d2ede2b13d4a52f2dae37980be91cb1a.tar.gz
yuzu-a162a844d2ede2b13d4a52f2dae37980be91cb1a.tar.bz2
yuzu-a162a844d2ede2b13d4a52f2dae37980be91cb1a.tar.lz
yuzu-a162a844d2ede2b13d4a52f2dae37980be91cb1a.tar.xz
yuzu-a162a844d2ede2b13d4a52f2dae37980be91cb1a.tar.zst
yuzu-a162a844d2ede2b13d4a52f2dae37980be91cb1a.zip
Diffstat (limited to 'src/video_core')
-rw-r--r--src/video_core/shader/control_flow.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/video_core/shader/control_flow.cpp b/src/video_core/shader/control_flow.cpp
index 4d500320a..37792d420 100644
--- a/src/video_core/shader/control_flow.cpp
+++ b/src/video_core/shader/control_flow.cpp
@@ -29,8 +29,7 @@ struct Query {
struct BlockStack {
BlockStack() = default;
- BlockStack(const BlockStack& b) = default;
- BlockStack(const Query& q) : ssy_stack{q.ssy_stack}, pbk_stack{q.pbk_stack} {}
+ explicit BlockStack(const Query& q) : ssy_stack{q.ssy_stack}, pbk_stack{q.pbk_stack} {}
std::stack<u32> ssy_stack{};
std::stack<u32> pbk_stack{};
};