summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Lioncash2021-04-23 09:16:15 -0400
committerGravatar Lioncash2021-04-23 09:16:17 -0400
commitae93402312da05ffdfeff42a60b63954646ab3aa (patch)
treefa731622d9d48da203502f0fc3dab28aba5d1938
parentMerge pull request #6223 from lat9nq/ffmpeg-external-fixes (diff)
downloadyuzu-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.h6
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();