diff options
| author | 2018-07-23 17:20:29 -0400 | |
|---|---|---|
| committer | 2018-07-23 17:20:33 -0400 | |
| commit | ac8133b9eea3ad66468aaacc093f494d5e46dbbd (patch) | |
| tree | 972a636f837e3916c67df84d38832b9952872b2c | |
| parent | nro: Remove unused forward declaration (diff) | |
| download | yuzu-ac8133b9eea3ad66468aaacc093f494d5e46dbbd.tar.gz yuzu-ac8133b9eea3ad66468aaacc093f494d5e46dbbd.tar.xz yuzu-ac8133b9eea3ad66468aaacc093f494d5e46dbbd.zip | |
nro: Make constructor explicit
Makes it consistent with the other Apploader constructors, and prevents
implicit conversions.
| -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 { | |||
| 16 | /// Loads an NRO file | 16 | /// Loads an NRO file |
| 17 | class AppLoader_NRO final : public AppLoader, Linker { | 17 | class AppLoader_NRO final : public AppLoader, Linker { |
| 18 | public: | 18 | public: |
| 19 | AppLoader_NRO(FileSys::VirtualFile file); | 19 | explicit AppLoader_NRO(FileSys::VirtualFile file); |
| 20 | 20 | ||
| 21 | /** | 21 | /** |
| 22 | * Returns the type of the file | 22 | * Returns the type of the file |