mirror of
https://github.com/yuzu-mirror/yuzu
synced 2024-12-14 07:52:27 +00:00
disk_filesystem: Make constructors explicit where applicable
This commit is contained in:
parent
17ad56c1dc
commit
b05f8ea5b5
1 changed files with 2 additions and 2 deletions
|
@ -43,7 +43,7 @@ protected:
|
||||||
|
|
||||||
class Disk_Storage : public StorageBackend {
|
class Disk_Storage : public StorageBackend {
|
||||||
public:
|
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> 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;
|
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 {
|
class Disk_Directory : public DirectoryBackend {
|
||||||
public:
|
public:
|
||||||
Disk_Directory(const std::string& path);
|
explicit Disk_Directory(const std::string& path);
|
||||||
|
|
||||||
~Disk_Directory() override {
|
~Disk_Directory() override {
|
||||||
Close();
|
Close();
|
||||||
|
|
Loading…
Reference in a new issue