mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-22 10:25:45 +00:00
file_sys: Make a few single-argument constructors explicit
Prevents implicit conversions.
This commit is contained in:
parent
8d529a5cda
commit
5e9f1ec096
8 changed files with 10 additions and 10 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue