1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-12-23 02:42:09 +00:00

fs_istorage: Default IStorage destructor in cpp

Prevents a -Wweak-vtables warning.
This commit is contained in:
Léo Lam 2018-07-02 18:15:30 +02:00 committed by SciresM
parent e088a2f414
commit 49ba91a8f3
2 changed files with 2 additions and 3 deletions

View file

@ -16,9 +16,7 @@ enum class FsIStorageCmd {
class IStorage { class IStorage {
public: public:
virtual ~IStorage() { virtual ~IStorage();
}
virtual IStorage *Clone() = 0; virtual IStorage *Clone() = 0;

View file

@ -5,6 +5,7 @@
#include "fsmitm_utils.hpp" #include "fsmitm_utils.hpp"
#include "debug.hpp" #include "debug.hpp"
IStorage::~IStorage() = default;
LayeredRomFS::LayeredRomFS(std::shared_ptr<RomInterfaceStorage> s_r, std::shared_ptr<RomFileStorage> f_r, u64 tid) : storage_romfs(s_r), file_romfs(f_r), title_id(tid) { LayeredRomFS::LayeredRomFS(std::shared_ptr<RomInterfaceStorage> s_r, std::shared_ptr<RomFileStorage> f_r, u64 tid) : storage_romfs(s_r), file_romfs(f_r), title_id(tid) {
/* Start building the new virtual romfs. */ /* Start building the new virtual romfs. */