mirror of
https://github.com/yuzu-emu/yuzu-mainline.git
synced 2024-12-25 20:05:41 +00:00
disk_filesystem: Make constructors explicit where applicable
This commit is contained in:
parent
17ad56c1dc
commit
b05f8ea5b5
|
@ -43,7 +43,7 @@ protected:
|
|||
|
||||
class Disk_Storage : public StorageBackend {
|
||||
public:
|
||||
Disk_Storage(std::shared_ptr<FileUtil::IOFile> file) : file(std::move(file)) {}
|
||||
explicit Disk_Storage(std::shared_ptr<FileUtil::IOFile> file) : file(std::move(file)) {}
|
||||
|
||||
ResultVal<size_t> Read(u64 offset, size_t length, u8* buffer) const override;
|
||||
ResultVal<size_t> Write(u64 offset, size_t length, bool flush, const u8* buffer) const override;
|
||||
|
@ -60,7 +60,7 @@ private:
|
|||
|
||||
class Disk_Directory : public DirectoryBackend {
|
||||
public:
|
||||
Disk_Directory(const std::string& path);
|
||||
explicit Disk_Directory(const std::string& path);
|
||||
|
||||
~Disk_Directory() override {
|
||||
Close();
|
||||
|
|
Loading…
Reference in a new issue