From 88ba94e8a21bc83ed5a3ae3b903b25388985dcff Mon Sep 17 00:00:00 2001 From: Lioncash Date: Wed, 18 Jul 2018 23:50:04 -0400 Subject: savedata_factory: Make SaveDataDescriptor's DebugInfo() function a const member function This function doesn't alter class state. --- src/core/file_sys/savedata_factory.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/file_sys/savedata_factory.h') diff --git a/src/core/file_sys/savedata_factory.h b/src/core/file_sys/savedata_factory.h index 53c69876f..e3a578c0f 100644 --- a/src/core/file_sys/savedata_factory.h +++ b/src/core/file_sys/savedata_factory.h @@ -37,7 +37,7 @@ struct SaveDataDescriptor { u64_le zero_2; u64_le zero_3; - std::string DebugInfo(); + std::string DebugInfo() const; }; static_assert(sizeof(SaveDataDescriptor) == 0x40, "SaveDataDescriptor has incorrect size."); -- cgit v1.2.3