1
0
Fork 0
forked from suyu/suyu

Merge pull request #2467 from lioncash/move

video_core/gpu_thread: Remove redundant copy constructor for CommandDataContainer
This commit is contained in:
Hexagon12 2019-05-19 15:20:37 +01:00 committed by GitHub
commit 18cdbdafa2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -81,12 +81,6 @@ struct CommandDataContainer {
CommandDataContainer(CommandData&& data, u64 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;
u64 fence{};
};