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/savedata_archive.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/file_sys/savedata_archive.h') diff --git a/src/core/file_sys/savedata_archive.h b/src/core/file_sys/savedata_archive.h index 2fb6c452a..176d35710 100644 --- a/src/core/file_sys/savedata_archive.h +++ b/src/core/file_sys/savedata_archive.h @@ -18,7 +18,7 @@ namespace FileSys { /// Archive backend for general save data archive type (SaveData and SystemSaveData) class SaveDataArchive : public ArchiveBackend { public: - SaveDataArchive(const std::string& mount_point_) : mount_point(mount_point_) {} + explicit SaveDataArchive(const std::string& mount_point_) : mount_point(mount_point_) {} std::string GetName() const override { return "SaveDataArchive: " + mount_point; -- cgit v1.2.3