diff options
Diffstat (limited to 'src/common/string_util.cpp')
| -rw-r--r-- | src/common/string_util.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/common/string_util.cpp b/src/common/string_util.cpp index 7b614ad89..e6344fd41 100644 --- a/src/common/string_util.cpp +++ b/src/common/string_util.cpp | |||
| @@ -9,7 +9,6 @@ | |||
| 9 | #include <locale> | 9 | #include <locale> |
| 10 | #include <sstream> | 10 | #include <sstream> |
| 11 | 11 | ||
| 12 | #include "common/common_paths.h" | ||
| 13 | #include "common/logging/log.h" | 12 | #include "common/logging/log.h" |
| 14 | #include "common/string_util.h" | 13 | #include "common/string_util.h" |
| 15 | 14 | ||
| @@ -93,18 +92,6 @@ bool SplitPath(const std::string& full_path, std::string* _pPath, std::string* _ | |||
| 93 | return true; | 92 | return true; |
| 94 | } | 93 | } |
| 95 | 94 | ||
| 96 | void BuildCompleteFilename(std::string& _CompleteFilename, const std::string& _Path, | ||
| 97 | const std::string& _Filename) { | ||
| 98 | _CompleteFilename = _Path; | ||
| 99 | |||
| 100 | // check for seperator | ||
| 101 | if (DIR_SEP_CHR != *_CompleteFilename.rbegin()) | ||
| 102 | _CompleteFilename += DIR_SEP_CHR; | ||
| 103 | |||
| 104 | // add the filename | ||
| 105 | _CompleteFilename += _Filename; | ||
| 106 | } | ||
| 107 | |||
| 108 | void SplitString(const std::string& str, const char delim, std::vector<std::string>& output) { | 95 | void SplitString(const std::string& str, const char delim, std::vector<std::string>& output) { |
| 109 | std::istringstream iss(str); | 96 | std::istringstream iss(str); |
| 110 | output.resize(1); | 97 | output.resize(1); |