diff options
| author | Zach Hilman <zachhilman@gmail.com> | 2019-04-23 14:38:18 -0400 |
|---|---|---|
| committer | Zach Hilman <zachhilman@gmail.com> | 2019-09-21 16:50:39 -0400 |
| commit | a49169e81906d230fd6bfc7546acc6f763f4c321 (patch) | |
| tree | eceaf472b9e52755b333f0945d14c4bddc1b741c /src/core/hle/service/filesystem/fsp_srv.cpp | |
| parent | d4d38dd44d61a64a56a5bc5e7c0644dfbc17e128 (diff) | |
filesystem: Add const qualification to various accessors
Diffstat (limited to 'src/core/hle/service/filesystem/fsp_srv.cpp')
| -rw-r--r-- | src/core/hle/service/filesystem/fsp_srv.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/hle/service/filesystem/fsp_srv.cpp b/src/core/hle/service/filesystem/fsp_srv.cpp index 525fda19f..305d9e176 100644 --- a/src/core/hle/service/filesystem/fsp_srv.cpp +++ b/src/core/hle/service/filesystem/fsp_srv.cpp @@ -32,8 +32,8 @@ namespace Service::FileSystem { struct SizeGetter { - std::function<u64()> free; - std::function<u64()> total; + std::function<u64()> get_free_size; + std::function<u64()> get_total_size; static SizeGetter FromStorageId(const FileSystemController& fsc, FileSys::StorageId id) { return { @@ -485,7 +485,7 @@ public: IPC::ResponseBuilder rb{ctx, 4}; rb.Push(RESULT_SUCCESS); - rb.Push(size.free()); + rb.Push(size.get_free_size()); } void GetTotalSpaceSize(Kernel::HLERequestContext& ctx) { @@ -493,7 +493,7 @@ public: IPC::ResponseBuilder rb{ctx, 4}; rb.Push(RESULT_SUCCESS); - rb.Push(size.total()); + rb.Push(size.get_total_size()); } private: |
