mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-09-07 05:12:56 +02:00
FileSystem: Purge GetDisplayNameFromPath()
Redundant function.
This commit is contained in:
committed by
Connor McLaughlin
parent
9967d5ca9e
commit
d73d698fd5
@@ -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