Remove 'using std::string'

* This will make it easier to replace std::string with rdcstr in future
This commit is contained in:
baldurk
2019-05-17 16:32:56 +01:00
parent 6d47b35cd9
commit a965a3a703
104 changed files with 803 additions and 869 deletions
+2 -3
View File
@@ -196,11 +196,10 @@ void merge(const std::vector<std::string> &in, std::string &out, const char sep)
std::string removeFromEnd(const std::string &value, const std::string &ending)
{
string::size_type pos;
pos = value.rfind(ending);
size_t pos = value.rfind(ending);
// Create new string from beginning to pattern
if(string::npos != pos)
if(std::string::npos != pos)
return value.substr(0, pos);
// If pattern not found, just return original string