mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-13 15:59:23 +01:00
VideoCommon: fix some compiler warnings for CustomAsset. FreeBSD compiler complained about a defaulted move constructor due to the mutex being implicitly deleted. Additionally, the const owning library deleted the copy constructor.
This commit is contained in:
parent
9ebfcebdde
commit
79f202ea5c
@ -20,10 +20,10 @@ public:
|
|||||||
CustomAsset(std::shared_ptr<CustomAssetLibrary> library,
|
CustomAsset(std::shared_ptr<CustomAssetLibrary> library,
|
||||||
const CustomAssetLibrary::AssetID& asset_id);
|
const CustomAssetLibrary::AssetID& asset_id);
|
||||||
virtual ~CustomAsset() = default;
|
virtual ~CustomAsset() = default;
|
||||||
CustomAsset(const CustomAsset&) = default;
|
CustomAsset(const CustomAsset&) = delete;
|
||||||
CustomAsset(CustomAsset&&) = default;
|
CustomAsset(CustomAsset&&) = delete;
|
||||||
CustomAsset& operator=(const CustomAsset&) = default;
|
CustomAsset& operator=(const CustomAsset&) = delete;
|
||||||
CustomAsset& operator=(CustomAsset&&) = default;
|
CustomAsset& operator=(CustomAsset&&) = delete;
|
||||||
|
|
||||||
// Loads the asset from the library returning a pass/fail result
|
// Loads the asset from the library returning a pass/fail result
|
||||||
bool Load();
|
bool Load();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user