Merge pull request #12050 from iwubcode/custom_asset_compiler_warning_fixes

VideoCommon: fix some compiler warnings for CustomAsset
This commit is contained in:
Admiral H. Curtiss 2023-07-20 00:26:54 +02:00 committed by GitHub
commit d1ce2e51ff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,10 +20,10 @@ public:
CustomAsset(std::shared_ptr<CustomAssetLibrary> library,
const CustomAssetLibrary::AssetID& asset_id);
virtual ~CustomAsset() = default;
CustomAsset(const CustomAsset&) = default;
CustomAsset(CustomAsset&&) = default;
CustomAsset& operator=(const CustomAsset&) = default;
CustomAsset& operator=(CustomAsset&&) = default;
CustomAsset(const CustomAsset&) = delete;
CustomAsset(CustomAsset&&) = delete;
CustomAsset& operator=(const CustomAsset&) = delete;
CustomAsset& operator=(CustomAsset&&) = delete;
// Loads the asset from the library returning a pass/fail result
bool Load();