summaryrefslogtreecommitdiff
path: root/src/core/loader/elf.cpp
diff options
context:
space:
mode:
authorGravatar Lioncash2018-07-23 23:10:48 -0400
committerGravatar Lioncash2018-07-23 23:13:22 -0400
commit1d755abce43534aae22f1c8402c8476e2f1f8fec (patch)
tree7f83ccf765241740286ba49b6ed045070924b527 /src/core/loader/elf.cpp
parentMerge pull request #790 from bunnei/shader-print-instr (diff)
downloadyuzu-1d755abce43534aae22f1c8402c8476e2f1f8fec.tar.gz
yuzu-1d755abce43534aae22f1c8402c8476e2f1f8fec.tar.xz
yuzu-1d755abce43534aae22f1c8402c8476e2f1f8fec.zip
core: Make converting constructors explicit where applicable
Avoids unwanted implicit conversions. Thankfully, given the large amount of cleanup in past PRs, only this tiny amount is left over to cover.
Diffstat (limited to 'src/core/loader/elf.cpp')
-rw-r--r--src/core/loader/elf.cpp2
1 files changed, 1 insertions, 1 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];