mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-10-23 03:09:37 +02:00
FileSystem: Purge GetDisplayNameFromPath()
Redundant function.
This commit is contained in:
1 parent
9967d5ca9e
commit
d73d698fd5
6 files changed
+13
-24
No files matched your search
@@ -531,11 +531,6 @@ static std::string_view::size_type GetLastSeperatorPosition(const std::string_vi
|
||||
return last_separator;
|
||||
}
|
||||
|
||||
std::string FileSystem::GetDisplayNameFromPath(const std::string_view& path)
|
||||
{
|
||||
return std::string(Path::GetFileName(path));
|
||||
}
|
||||
|
||||
std::string_view Path::GetDirectory(const std::string_view& path)
|
||||
{
|
||||
const std::string::size_type pos = GetLastSeperatorPosition(path, false);
|
||||
|
||||
Reference in new issue
Block a user