mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-15 22:54:00 +00:00
video_core/control_flow: Remove unnecessary BlockStack copy constructor
This is the default behavior of the copy constructor, so it doesn't need to be specified. While we're at it we can make the other non-default constructor explicit.
This commit is contained in:
parent
56bc11d952
commit
a162a844d2
1 changed files with 1 additions and 2 deletions
|
@ -29,8 +29,7 @@ struct Query {
|
||||||
|
|
||||||
struct BlockStack {
|
struct BlockStack {
|
||||||
BlockStack() = default;
|
BlockStack() = default;
|
||||||
BlockStack(const BlockStack& b) = default;
|
explicit BlockStack(const Query& q) : ssy_stack{q.ssy_stack}, pbk_stack{q.pbk_stack} {}
|
||||||
BlockStack(const Query& q) : ssy_stack{q.ssy_stack}, pbk_stack{q.pbk_stack} {}
|
|
||||||
std::stack<u32> ssy_stack{};
|
std::stack<u32> ssy_stack{};
|
||||||
std::stack<u32> pbk_stack{};
|
std::stack<u32> pbk_stack{};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue