From 5e9f1ec096892aeea8fc6fd27d0047839efe4f7b Mon Sep 17 00:00:00 2001 From: Lioncash Date: Wed, 7 Dec 2016 05:20:35 -0500 Subject: file_sys: Make a few single-argument constructors explicit Prevents implicit conversions. --- src/core/file_sys/archive_romfs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/file_sys/archive_romfs.h') diff --git a/src/core/file_sys/archive_romfs.h b/src/core/file_sys/archive_romfs.h index 8a8082a05..1eaf99b54 100644 --- a/src/core/file_sys/archive_romfs.h +++ b/src/core/file_sys/archive_romfs.h @@ -20,7 +20,7 @@ namespace FileSys { /// File system interface to the RomFS archive class ArchiveFactory_RomFS final : public ArchiveFactory { public: - ArchiveFactory_RomFS(Loader::AppLoader& app_loader); + explicit ArchiveFactory_RomFS(Loader::AppLoader& app_loader); std::string GetName() const override { return "RomFS"; -- cgit v1.2.3