nro: Make constructor explicit

Makes it consistent with the other Apploader constructors, and prevents
implicit conversions.
This commit is contained in:
Lioncash 2018-07-23 17:20:29 -04:00
parent 1c16700372
commit ac8133b9ee

View file

@ -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