diff options
| author | Tilka <tilkax@gmail.com> | 2023-11-26 00:54:11 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-26 00:54:11 +0000 |
| commit | c16e98a31f218f6dc241154bbdfbafb08e1cc4a4 (patch) | |
| tree | b9d58cea80129242287371e1d6f99e0a02bcecec /Source/Core | |
| parent | 88cd618b4d09387633bbe377de1fb92643704b1f (diff) | |
| parent | 04011373f3653101709ce904ac59dd70e9cb2ff2 (diff) | |
Merge pull request #12323 from lioncash/virt
CustomAssetLibrary: Add virtual destructor
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/VideoCommon/Assets/CustomAssetLibrary.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/Assets/CustomAssetLibrary.h b/Source/Core/VideoCommon/Assets/CustomAssetLibrary.h index 17b16f9fb9..78cea9a3e9 100644 --- a/Source/Core/VideoCommon/Assets/CustomAssetLibrary.h +++ b/Source/Core/VideoCommon/Assets/CustomAssetLibrary.h @@ -28,9 +28,11 @@ public: struct LoadInfo { std::size_t m_bytes_loaded = 0; - CustomAssetLibrary::TimeType m_load_time = {}; + TimeType m_load_time = {}; }; + virtual ~CustomAssetLibrary() = default; + // Loads a texture, if there are no levels, bytes loaded will be empty virtual LoadInfo LoadTexture(const AssetID& asset_id, TextureData* data) = 0; |
