summaryrefslogtreecommitdiff
path: root/src/core/loader
diff options
context:
space:
mode:
authorGravatar bunnei2018-07-24 04:47:26 -0700
committerGravatar GitHub2018-07-24 04:47:26 -0700
commit23e85b6b9f9b8f835944dc45e543206655c92ba0 (patch)
treebdc20813bd7083fdb901bfb1e178dffc72ea2466 /src/core/loader
parentMerge pull request #795 from lioncash/decl (diff)
parentcore: Make converting constructors explicit where applicable (diff)
downloadyuzu-23e85b6b9f9b8f835944dc45e543206655c92ba0.tar.gz
yuzu-23e85b6b9f9b8f835944dc45e543206655c92ba0.tar.xz
yuzu-23e85b6b9f9b8f835944dc45e543206655c92ba0.zip
Merge pull request #797 from lioncash/explicit
core: Make converting constructors explicit where applicable
Diffstat (limited to 'src/core/loader')
-rw-r--r--src/core/loader/elf.cpp2
-rw-r--r--src/core/loader/loader.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/core/loader/elf.cpp b/src/core/loader/elf.cpp
index 4bfd5f536..352938dcb 100644
--- a/src/core/loader/elf.cpp
+++ b/src/core/loader/elf.cpp
@@ -190,7 +190,7 @@ private:
190 u32 entryPoint; 190 u32 entryPoint;
191 191
192public: 192public:
193 ElfReader(void* ptr); 193 explicit ElfReader(void* ptr);
194 194
195 u32 Read32(int off) const { 195 u32 Read32(int off) const {
196 return base32[off >> 2]; 196 return base32[off >> 2];
diff --git a/src/core/loader/loader.h b/src/core/loader/loader.h
index 6f517ca8c..fbf11e5d0 100644
--- a/src/core/loader/loader.h
+++ b/src/core/loader/loader.h
@@ -79,7 +79,7 @@ enum class ResultStatus {
79/// Interface for loading an application 79/// Interface for loading an application
80class AppLoader : NonCopyable { 80class AppLoader : NonCopyable {
81public: 81public:
82 AppLoader(FileSys::VirtualFile file) : file(std::move(file)) {} 82 explicit AppLoader(FileSys::VirtualFile file) : file(std::move(file)) {}
83 virtual ~AppLoader() {} 83 virtual ~AppLoader() {}
84 84
85 /** 85 /**