From f5e5e8553cb779b75918412d286b07597b4a5fb6 Mon Sep 17 00:00:00 2001 From: Dentomologist Date: Wed, 21 Jul 2021 12:39:00 -0700 Subject: StringUtil: Remove unused function BuildCompleteFilename --- Source/Core/Common/StringUtil.cpp | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'Source/Core/Common/StringUtil.cpp') 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 SplitString(const std::string& str, const char delim) { std::istringstream iss(str); -- cgit v1.2.3