diff options
author | Lioncash <mathew1800@gmail.com> | 2018-07-23 17:20:29 -0400 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-07-23 17:20:33 -0400 |
commit | ac8133b9eea3ad66468aaacc093f494d5e46dbbd (patch) | |
tree | 972a636f837e3916c67df84d38832b9952872b2c /src/core/loader/nro.h | |
parent | 1c16700372528665876654da85f486105cb24e71 (diff) |
nro: Make constructor explicit
Makes it consistent with the other Apploader constructors, and prevents
implicit conversions.
Diffstat (limited to 'src/core/loader/nro.h')
-rw-r--r-- | src/core/loader/nro.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/loader/nro.h b/src/core/loader/nro.h index 0024ce42b..fe6104754 100644 --- a/src/core/loader/nro.h +++ b/src/core/loader/nro.h @@ -16,7 +16,7 @@ namespace Loader { /// Loads an NRO file class AppLoader_NRO final : public AppLoader, Linker { public: - AppLoader_NRO(FileSys::VirtualFile file); + explicit AppLoader_NRO(FileSys::VirtualFile file); /** * Returns the type of the file |