From 49ba91a8f380f6256c21275820c76f212a58464e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Lam?= Date: Mon, 2 Jul 2018 18:15:30 +0200 Subject: [PATCH] fs_istorage: Default IStorage destructor in cpp Prevents a -Wweak-vtables warning. --- stratosphere/fs_mitm/source/fs_istorage.hpp | 4 +--- stratosphere/fs_mitm/source/fsmitm_layeredrom.cpp | 1 + 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/stratosphere/fs_mitm/source/fs_istorage.hpp b/stratosphere/fs_mitm/source/fs_istorage.hpp index a5e99fadd..4262245f6 100644 --- a/stratosphere/fs_mitm/source/fs_istorage.hpp +++ b/stratosphere/fs_mitm/source/fs_istorage.hpp @@ -16,9 +16,7 @@ enum class FsIStorageCmd { class IStorage { public: - virtual ~IStorage() { - - } + virtual ~IStorage(); virtual IStorage *Clone() = 0; diff --git a/stratosphere/fs_mitm/source/fsmitm_layeredrom.cpp b/stratosphere/fs_mitm/source/fsmitm_layeredrom.cpp index 6d2797268..0ca29eb2b 100644 --- a/stratosphere/fs_mitm/source/fsmitm_layeredrom.cpp +++ b/stratosphere/fs_mitm/source/fsmitm_layeredrom.cpp @@ -5,6 +5,7 @@ #include "fsmitm_utils.hpp" #include "debug.hpp" +IStorage::~IStorage() = default; LayeredRomFS::LayeredRomFS(std::shared_ptr s_r, std::shared_ptr f_r, u64 tid) : storage_romfs(s_r), file_romfs(f_r), title_id(tid) { /* Start building the new virtual romfs. */