nro: Make constructor explicit
Makes it consistent with the other Apploader constructors, and prevents implicit conversions.
This commit is contained in:
parent
1c16700372
commit
ac8133b9ee
@ -16,7 +16,7 @@ namespace Loader {
|
|||||||
/// Loads an NRO file
|
/// Loads an NRO file
|
||||||
class AppLoader_NRO final : public AppLoader, Linker {
|
class AppLoader_NRO final : public AppLoader, Linker {
|
||||||
public:
|
public:
|
||||||
AppLoader_NRO(FileSys::VirtualFile file);
|
explicit AppLoader_NRO(FileSys::VirtualFile file);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the type of the file
|
* Returns the type of the file
|
||||||
|
Loading…
Reference in New Issue
Block a user