Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

video_core/gpu_thread: Remove redundant copy constructor for CommandDataContainer

Lioncashf7e6e4a882fc
diff --git a/src/video_core/gpu_thread.h b/src/video_core/gpu_thread.h
index cc14527c79..64a3335ba6 100644
--- a/src/video_core/gpu_thread.h
+++ b/src/video_core/gpu_thread.h
@@ -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{};
};