mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-05-02 09:18:36 +00:00
StringUtil: Remove unused function BuildCompleteFilename
This commit is contained in:
parent
d1beb9ef70
commit
f5e5e8553c
2 changed files with 0 additions and 16 deletions
|
@ -342,19 +342,6 @@ std::string PathToFileName(std::string_view path)
|
|||
return file_name + extension;
|
||||
}
|
||||
|
||||
void BuildCompleteFilename(std::string& complete_filename, std::string_view path,
|
||||
std::string_view filename)
|
||||
{
|
||||
complete_filename = path;
|
||||
|
||||
// check for seperator
|
||||
if (DIR_SEP_CHR != *complete_filename.rbegin())
|
||||
complete_filename += DIR_SEP_CHR;
|
||||
|
||||
// add the filename
|
||||
complete_filename += filename;
|
||||
}
|
||||
|
||||
std::vector<std::string> SplitString(const std::string& str, const char delim)
|
||||
{
|
||||
std::istringstream iss(str);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue