mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-24 17:15:47 +00:00
disk_filesystem: Make constructors explicit where applicable
This commit is contained in:
parent
fd50308f39
commit
19fe9a92ec
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue