summaryrefslogtreecommitdiff
path: root/src/core/loader
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/loader')
-rw-r--r--src/core/loader/3dsx.h3
-rw-r--r--src/core/loader/elf.h3
-rw-r--r--src/core/loader/loader.h6
-rw-r--r--src/core/loader/ncch.h3
4 files changed, 5 insertions, 10 deletions
diff --git a/src/core/loader/3dsx.h b/src/core/loader/3dsx.h
index 09a788a1c..8d15ba555 100644
--- a/src/core/loader/3dsx.h
+++ b/src/core/loader/3dsx.h
@@ -19,8 +19,7 @@ class AppLoader_THREEDSX final : public AppLoader {
19public: 19public:
20 AppLoader_THREEDSX(FileUtil::IOFile&& file, const std::string& filename, 20 AppLoader_THREEDSX(FileUtil::IOFile&& file, const std::string& filename,
21 const std::string& filepath) 21 const std::string& filepath)
22 : AppLoader(std::move(file)), filename(std::move(filename)), filepath(filepath) { 22 : AppLoader(std::move(file)), filename(std::move(filename)), filepath(filepath) {}
23 }
24 23
25 /** 24 /**
26 * Returns the type of the file 25 * Returns the type of the file
diff --git a/src/core/loader/elf.h b/src/core/loader/elf.h
index 0b1456c64..04a9b482d 100644
--- a/src/core/loader/elf.h
+++ b/src/core/loader/elf.h
@@ -18,8 +18,7 @@ namespace Loader {
18class AppLoader_ELF final : public AppLoader { 18class AppLoader_ELF final : public AppLoader {
19public: 19public:
20 AppLoader_ELF(FileUtil::IOFile&& file, std::string filename) 20 AppLoader_ELF(FileUtil::IOFile&& file, std::string filename)
21 : AppLoader(std::move(file)), filename(std::move(filename)) { 21 : AppLoader(std::move(file)), filename(std::move(filename)) {}
22 }
23 22
24 /** 23 /**
25 * Returns the type of the file 24 * Returns the type of the file
diff --git a/src/core/loader/loader.h b/src/core/loader/loader.h
index 5f48d2ffe..fdfee835c 100644
--- a/src/core/loader/loader.h
+++ b/src/core/loader/loader.h
@@ -81,10 +81,8 @@ constexpr u32 MakeMagic(char a, char b, char c, char d) {
81/// Interface for loading an application 81/// Interface for loading an application
82class AppLoader : NonCopyable { 82class AppLoader : NonCopyable {
83public: 83public:
84 AppLoader(FileUtil::IOFile&& file) : file(std::move(file)) { 84 AppLoader(FileUtil::IOFile&& file) : file(std::move(file)) {}
85 } 85 virtual ~AppLoader() {}
86 virtual ~AppLoader() {
87 }
88 86
89 /** 87 /**
90 * Returns the type of this file 88 * Returns the type of this file
diff --git a/src/core/loader/ncch.h b/src/core/loader/ncch.h
index 0cd70f70c..f53f8100e 100644
--- a/src/core/loader/ncch.h
+++ b/src/core/loader/ncch.h
@@ -164,8 +164,7 @@ namespace Loader {
164class AppLoader_NCCH final : public AppLoader { 164class AppLoader_NCCH final : public AppLoader {
165public: 165public:
166 AppLoader_NCCH(FileUtil::IOFile&& file, const std::string& filepath) 166 AppLoader_NCCH(FileUtil::IOFile&& file, const std::string& filepath)
167 : AppLoader(std::move(file)), filepath(filepath) { 167 : AppLoader(std::move(file)), filepath(filepath) {}
168 }
169 168
170 /** 169 /**
171 * Returns the type of the file 170 * Returns the type of the file