fix: CodeQL warnings about the rule of two

shush

Signed-off-by: flow <flowlnlnln@gmail.com>
This commit is contained in:
flow 2022-12-28 15:19:20 -03:00
parent 3cff23dae2
commit 7d128c79a3
No known key found for this signature in database
GPG Key ID: 8D0F221F0A59F469

View File

@ -86,6 +86,7 @@ class ResourceAPI {
std::optional<std::list<Version> > mcVersions;
std::optional<ModLoaderTypes> loaders;
VersionSearchArgs(VersionSearchArgs const&) = default;
void operator=(VersionSearchArgs other)
{
pack = other.pack;
@ -100,6 +101,7 @@ class ResourceAPI {
struct ProjectInfoArgs {
ModPlatform::IndexedPack pack;
ProjectInfoArgs(ProjectInfoArgs const&) = default;
void operator=(ProjectInfoArgs other) { pack = other.pack; }
};
struct ProjectInfoCallbacks {