fix: CodeQL warnings about the rule of two
shush Signed-off-by: flow <flowlnlnln@gmail.com>
This commit is contained in:
parent
3cff23dae2
commit
7d128c79a3
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user