mirror of
https://git.suyu.dev/suyu/suyu
synced 2024-11-01 12:57:52 +00:00
Merge pull request #2467 from lioncash/move
video_core/gpu_thread: Remove redundant copy constructor for CommandDataContainer
This commit is contained in:
commit
18cdbdafa2
1 changed files with 0 additions and 6 deletions
|
@ -81,12 +81,6 @@ struct CommandDataContainer {
|
||||||
CommandDataContainer(CommandData&& data, u64 next_fence)
|
CommandDataContainer(CommandData&& data, u64 next_fence)
|
||||||
: data{std::move(data)}, fence{next_fence} {}
|
: data{std::move(data)}, fence{next_fence} {}
|
||||||
|
|
||||||
CommandDataContainer& operator=(const CommandDataContainer& t) {
|
|
||||||
data = std::move(t.data);
|
|
||||||
fence = t.fence;
|
|
||||||
return *this;
|
|
||||||
}
|
|
||||||
|
|
||||||
CommandData data;
|
CommandData data;
|
||||||
u64 fence{};
|
u64 fence{};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue