diff options
| author | Lioncash <mathew1800@gmail.com> | 2018-07-18 23:50:04 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2018-07-18 23:50:07 -0400 |
| commit | f92bb43138951cf5c5273dfdc5b317319c328c37 (patch) | |
| tree | cc8635bd7ebf9f3971c89647bf53f8074b94f27f /src/core/file_sys/savedata_factory.cpp | |
| parent | f6f77b403e0fa341c2a68b7d9e9d8a115a725675 (diff) | |
savedata_factory: Make SaveDataDescriptor's DebugInfo() function a const member function
This function doesn't alter class state.
Diffstat (limited to 'src/core/file_sys/savedata_factory.cpp')
| -rw-r--r-- | src/core/file_sys/savedata_factory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/file_sys/savedata_factory.cpp b/src/core/file_sys/savedata_factory.cpp index 6a53b2b10e..dfdca83d6d 100644 --- a/src/core/file_sys/savedata_factory.cpp +++ b/src/core/file_sys/savedata_factory.cpp @@ -11,7 +11,7 @@ namespace FileSys { -std::string SaveDataDescriptor::DebugInfo() { +std::string SaveDataDescriptor::DebugInfo() const { return fmt::format("[type={:02X}, title_id={:016X}, user_id={:016X}{:016X}, save_id={:016X}]", static_cast<u8>(type), title_id, user_id[1], user_id[0], save_id); } |
