diff options
| author | Lioncash <mathew1800@gmail.com> | 2016-12-07 05:20:35 -0500 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2016-12-07 17:26:56 -0500 |
| commit | 5e9f1ec096892aeea8fc6fd27d0047839efe4f7b (patch) | |
| tree | 80dafbb190346ed9397b39cc766e346abb167422 /src/core/file_sys/archive_sdmc.h | |
| parent | 8d529a5cda86f6c59f21829d8a15deb5586c1c8d (diff) | |
file_sys: Make a few single-argument constructors explicit
Prevents implicit conversions.
Diffstat (limited to 'src/core/file_sys/archive_sdmc.h')
| -rw-r--r-- | src/core/file_sys/archive_sdmc.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/file_sys/archive_sdmc.h b/src/core/file_sys/archive_sdmc.h index 9d99b110c..f6c70bfcc 100644 --- a/src/core/file_sys/archive_sdmc.h +++ b/src/core/file_sys/archive_sdmc.h @@ -17,7 +17,7 @@ namespace FileSys { /// Archive backend for SDMC archive class SDMCArchive : public ArchiveBackend { public: - SDMCArchive(const std::string& mount_point_) : mount_point(mount_point_) {} + explicit SDMCArchive(const std::string& mount_point_) : mount_point(mount_point_) {} std::string GetName() const override { return "SDMCArchive: " + mount_point; @@ -43,7 +43,7 @@ protected: /// File system interface to the SDMC archive class ArchiveFactory_SDMC final : public ArchiveFactory { public: - ArchiveFactory_SDMC(const std::string& mount_point); + explicit ArchiveFactory_SDMC(const std::string& mount_point); /** * Initialize the archive. |
