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