summaryrefslogtreecommitdiff
path: root/Source/Core/Common/StringUtil.cpp
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2021-07-22 19:05:07 +0200
committerGitHub <noreply@github.com>2021-07-22 19:05:07 +0200
commit484279f013bd375f6f0107a557897e3768a38972 (patch)
treefb8b227c07f3284ac01fc9ca22a50f2f68077338 /Source/Core/Common/StringUtil.cpp
parent674e2aa573b46da3f77592c70c46c3ff369bcd16 (diff)
parentf5e5e8553cb779b75918412d286b07597b4a5fb6 (diff)
Merge pull request #9933 from Dentomologist/remove_stringutil_buildcompletefilename
StringUtil: Remove unused function BuildCompleteFilename
Diffstat (limited to 'Source/Core/Common/StringUtil.cpp')
-rw-r--r--Source/Core/Common/StringUtil.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/Source/Core/Common/StringUtil.cpp b/Source/Core/Common/StringUtil.cpp
index dde33605c9..0419fcc288 100644
--- a/Source/Core/Common/StringUtil.cpp
+++ b/Source/Core/Common/StringUtil.cpp
@@ -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);