From 144c23dead80f1ebe23ce26927cdc35a8813608d Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sun, 18 Sep 2016 12:31:40 -0400 Subject: Filesystem: Return strings from GetFileName without the const qualifier This is mostly pointless and can inhibit move construction --- Source/Core/DiscIO/FileSystemGCWii.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/Core/DiscIO/FileSystemGCWii.cpp') diff --git a/Source/Core/DiscIO/FileSystemGCWii.cpp b/Source/Core/DiscIO/FileSystemGCWii.cpp index 9e27e6f70e..b19fd7cf95 100644 --- a/Source/Core/DiscIO/FileSystemGCWii.cpp +++ b/Source/Core/DiscIO/FileSystemGCWii.cpp @@ -44,7 +44,7 @@ u64 CFileSystemGCWii::GetFileSize(const std::string& _rFullPath) return 0; } -const std::string CFileSystemGCWii::GetFileName(u64 _Address) +std::string CFileSystemGCWii::GetFileName(u64 _Address) { if (!m_Initialized) InitFileSystem(); -- cgit v1.2.3