diff options
author | Lioncash <mathew1800@gmail.com> | 2019-07-16 17:52:08 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2019-07-19 03:03:30 +0200 |
commit | a162a844d2ede2b13d4a52f2dae37980be91cb1a (patch) | |
tree | b262ff3437cbadd73dda65a022c9228e0732d043 /src/video_core | |
parent | video_core/control_flow: Use std::move where applicable (diff) | |
download | yuzu-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.cpp | 3 |
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{}; }; |