aboutsummaryrefslogtreecommitdiff
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
commit3a72ee5fece25c3371edd864bb3f7071e9d430d8 (patch)
treeea79501fac89a18e5a71e2831948d34ae01c5320 /src/core/loader/nro.cpp
parenta2c69eb9494a7c6268f055916137ccaf429a02db (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 f6f12c31c3..7d3ec2a76d 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{};