summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-04-23 23:12:44 -0700
committerGitHub <noreply@github.com>2021-04-23 23:12:44 -0700
commitf4610e77e2bb716a123efad75c955152a084a3e6 (patch)
tree6ed87109d546d096d611e22f61c61b64e1928496
parent4cc8ab8a86df21fefe312ccb4451b2643af32151 (diff)
parentae93402312da05ffdfeff42a60b63954646ab3aa (diff)
Merge pull request #6227 from lioncash/meta
program_metadata: Explicitly specify copy/move operators/functions
-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:
ProgramMetadata();
~ProgramMetadata();
+ ProgramMetadata(const ProgramMetadata&) = default;
+ ProgramMetadata& operator=(const ProgramMetadata&) = default;
+
+ ProgramMetadata(ProgramMetadata&&) = default;
+ ProgramMetadata& operator=(ProgramMetadata&&) = default;
+
/// Gets a default ProgramMetadata configuration, should only be used for homebrew formats where
/// we do not have an NPDM file
static ProgramMetadata GetDefault();