diff options
| author | 2021-04-23 09:16:15 -0400 | |
|---|---|---|
| committer | 2021-04-23 09:16:17 -0400 | |
| commit | ae93402312da05ffdfeff42a60b63954646ab3aa (patch) | |
| tree | fa731622d9d48da203502f0fc3dab28aba5d1938 | |
| parent | Merge pull request #6223 from lat9nq/ffmpeg-external-fixes (diff) | |
| download | yuzu-ae93402312da05ffdfeff42a60b63954646ab3aa.tar.gz yuzu-ae93402312da05ffdfeff42a60b63954646ab3aa.tar.xz yuzu-ae93402312da05ffdfeff42a60b63954646ab3aa.zip | |
program_metadata: Explicitly specify copy/move functions
The generation of the copy assignment operators are deprecated on being
generated when a user-provided destructor is present.
We can explicitly specify that we desire this behavior to keep the class
forward compatible with future standards.
Diffstat (limited to '')
| -rw-r--r-- | src/core/file_sys/program_metadata.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/file_sys/program_metadata.h b/src/core/file_sys/program_metadata.h index 455532567..1ddf00c14 100644 --- a/src/core/file_sys/program_metadata.h +++ b/src/core/file_sys/program_metadata.h | |||
| @@ -44,6 +44,12 @@ public: | |||
| 44 | ProgramMetadata(); | 44 | ProgramMetadata(); |
| 45 | ~ProgramMetadata(); | 45 | ~ProgramMetadata(); |
| 46 | 46 | ||
| 47 | ProgramMetadata(const ProgramMetadata&) = default; | ||
| 48 | ProgramMetadata& operator=(const ProgramMetadata&) = default; | ||
| 49 | |||
| 50 | ProgramMetadata(ProgramMetadata&&) = default; | ||
| 51 | ProgramMetadata& operator=(ProgramMetadata&&) = default; | ||
| 52 | |||
| 47 | /// Gets a default ProgramMetadata configuration, should only be used for homebrew formats where | 53 | /// Gets a default ProgramMetadata configuration, should only be used for homebrew formats where |
| 48 | /// we do not have an NPDM file | 54 | /// we do not have an NPDM file |
| 49 | static ProgramMetadata GetDefault(); | 55 | static ProgramMetadata GetDefault(); |