Просмотр исходного кода

Merge pull request #2467 from lioncash/move

video_core/gpu_thread: Remove redundant copy constructor for CommandDataContainer
Hexagon12 7 лет назад
Родитель
Сommit
18cdbdafa2
1 измененных файлов с 0 добавлено и 6 удалено
  1. 0 6
      src/video_core/gpu_thread.h

+ 0 - 6
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{};
 };