diff options
| author | 2019-05-19 15:20:37 +0100 | |
|---|---|---|
| committer | 2019-05-19 15:20:37 +0100 | |
| commit | 18cdbdafa225a22fb9fea13b997312cb37d415ab (patch) | |
| tree | 2e72166d640b649f76d09a6603846a2540fce376 /src/video_core/gpu_thread.h | |
| parent | Merge pull request #2463 from lioncash/set (diff) | |
| parent | video_core/gpu_thread: Remove redundant copy constructor for CommandDataConta... (diff) | |
| download | yuzu-18cdbdafa225a22fb9fea13b997312cb37d415ab.tar.gz yuzu-18cdbdafa225a22fb9fea13b997312cb37d415ab.tar.xz yuzu-18cdbdafa225a22fb9fea13b997312cb37d415ab.zip | |
Merge pull request #2467 from lioncash/move
video_core/gpu_thread: Remove redundant copy constructor for CommandDataContainer
Diffstat (limited to 'src/video_core/gpu_thread.h')
| -rw-r--r-- | src/video_core/gpu_thread.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/video_core/gpu_thread.h b/src/video_core/gpu_thread.h index cdf86f562..05a168a72 100644 --- a/src/video_core/gpu_thread.h +++ b/src/video_core/gpu_thread.h | |||
| @@ -81,12 +81,6 @@ struct CommandDataContainer { | |||
| 81 | CommandDataContainer(CommandData&& data, u64 next_fence) | 81 | CommandDataContainer(CommandData&& data, u64 next_fence) |
| 82 | : data{std::move(data)}, fence{next_fence} {} | 82 | : data{std::move(data)}, fence{next_fence} {} |
| 83 | 83 | ||
| 84 | CommandDataContainer& operator=(const CommandDataContainer& t) { | ||
| 85 | data = std::move(t.data); | ||
| 86 | fence = t.fence; | ||
| 87 | return *this; | ||
| 88 | } | ||
| 89 | |||
| 90 | CommandData data; | 84 | CommandData data; |
| 91 | u64 fence{}; | 85 | u64 fence{}; |
| 92 | }; | 86 | }; |