summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-04-20 03:27:43 +0200
committerLioncash <mathew1800@gmail.com>2018-04-20 03:27:43 +0200
commitb05f8ea5b50d2fcbfaa906d674f9b8026f0352ab (patch)
treef55621f9e1df1c70c1b1cff69564ec6e79a22de7 /src
parentMerge pull request #356 from lioncash/shader (diff)
downloadyuzu-b05f8ea5b50d2fcbfaa906d674f9b8026f0352ab.tar
yuzu-b05f8ea5b50d2fcbfaa906d674f9b8026f0352ab.tar.gz
yuzu-b05f8ea5b50d2fcbfaa906d674f9b8026f0352ab.tar.bz2
yuzu-b05f8ea5b50d2fcbfaa906d674f9b8026f0352ab.tar.lz
yuzu-b05f8ea5b50d2fcbfaa906d674f9b8026f0352ab.tar.xz
yuzu-b05f8ea5b50d2fcbfaa906d674f9b8026f0352ab.tar.zst
yuzu-b05f8ea5b50d2fcbfaa906d674f9b8026f0352ab.zip
Diffstat (limited to 'src')
-rw-r--r--src/core/file_sys/disk_filesystem.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/file_sys/disk_filesystem.h b/src/core/file_sys/disk_filesystem.h
index 05a29bc3a..e774cd08b 100644
--- a/src/core/file_sys/disk_filesystem.h
+++ b/src/core/file_sys/disk_filesystem.h
@@ -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();