diff options
author | Lioncash <mathew1800@gmail.com> | 2018-07-24 05:10:48 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-07-24 05:13:22 +0200 |
commit | 1d755abce43534aae22f1c8402c8476e2f1f8fec (patch) | |
tree | 7f83ccf765241740286ba49b6ed045070924b527 /src/core/loader | |
parent | Merge pull request #790 from bunnei/shader-print-instr (diff) | |
download | yuzu-1d755abce43534aae22f1c8402c8476e2f1f8fec.tar yuzu-1d755abce43534aae22f1c8402c8476e2f1f8fec.tar.gz yuzu-1d755abce43534aae22f1c8402c8476e2f1f8fec.tar.bz2 yuzu-1d755abce43534aae22f1c8402c8476e2f1f8fec.tar.lz yuzu-1d755abce43534aae22f1c8402c8476e2f1f8fec.tar.xz yuzu-1d755abce43534aae22f1c8402c8476e2f1f8fec.tar.zst yuzu-1d755abce43534aae22f1c8402c8476e2f1f8fec.zip |
Diffstat (limited to 'src/core/loader')
-rw-r--r-- | src/core/loader/elf.cpp | 2 | ||||
-rw-r--r-- | src/core/loader/loader.h | 2 |
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: u32 entryPoint; public: - ElfReader(void* ptr); + explicit ElfReader(void* ptr); u32 Read32(int off) const { 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 { /// Interface for loading an application class AppLoader : NonCopyable { public: - AppLoader(FileSys::VirtualFile file) : file(std::move(file)) {} + explicit AppLoader(FileSys::VirtualFile file) : file(std::move(file)) {} virtual ~AppLoader() {} /** |