diff options
| author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2016-12-08 00:29:38 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-12-08 00:29:38 -0800 |
| commit | 63d3dd5262cae8ff0874dcc2cb773db3497dc70c (patch) | |
| tree | fe9ebfba08a098caa1d9dee2324a0bdd784685dd /src/core/file_sys/archive_sdmc.h | |
| parent | 43558dc40a27ddcb90b9c603f3b0924a04b81ab0 (diff) | |
| parent | 5e9f1ec096892aeea8fc6fd27d0047839efe4f7b (diff) | |
Merge pull request #2277 from lioncash/explicit
file_sys: Make a few single-argument constructors explicit
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. |
