summaryrefslogtreecommitdiff
path: root/src/core/loader/nro.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-07-23 17:27:50 -0400
committerLioncash <mathew1800@gmail.com>2018-07-23 17:29:02 -0400
commit1b4d0ac20e3577b8a330a1e79881edaa0dd0143a (patch)
treeea79501fac89a18e5a71e2831948d34ae01c5320 /src/core/loader/nro.cpp
parent2b497e58306b98eddaf74a3a1fecc6fdd8b8c855 (diff)
nro: Replace inclusion with a forward declaration
It's sufficient to use a forward declaration instead of a direct inclusion here.
Diffstat (limited to 'src/core/loader/nro.cpp')
-rw-r--r--src/core/loader/nro.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/loader/nro.cpp b/src/core/loader/nro.cpp
index f6f12c31c..7d3ec2a76 100644
--- a/src/core/loader/nro.cpp
+++ b/src/core/loader/nro.cpp
@@ -6,6 +6,7 @@
#include <vector>
#include "common/common_funcs.h"
+#include "common/common_types.h"
#include "common/file_util.h"
#include "common/logging/log.h"
#include "common/swap.h"
@@ -106,6 +107,8 @@ AppLoader_NRO::AppLoader_NRO(FileSys::VirtualFile file) : AppLoader(file) {
}
}
+AppLoader_NRO::~AppLoader_NRO() = default;
+
FileType AppLoader_NRO::IdentifyType(const FileSys::VirtualFile& file) {
// Read NSO header
NroHeader nro_header{};