[Projct64] Clean up std string.cpp
This commit is contained in:
parent
832248d818
commit
bc8d8b8fa1
|
@ -130,7 +130,8 @@ stdstr & stdstr::TrimLeft (const char * chars2remove)
|
|||
if (pos != std::string::npos)
|
||||
{
|
||||
erase(0, pos);
|
||||
} else {
|
||||
}
|
||||
else {
|
||||
erase(begin(), end()); // make empty
|
||||
}
|
||||
}
|
||||
|
@ -145,7 +146,8 @@ stdstr & stdstr::TrimRight (const char * chars2remove)
|
|||
if (pos != std::string::npos)
|
||||
{
|
||||
erase(pos + 1);
|
||||
} else {
|
||||
}
|
||||
else {
|
||||
erase(begin(), end()); // make empty
|
||||
}
|
||||
}
|
||||
|
|
|
@ -36,7 +36,6 @@ public:
|
|||
std::wstring ToUTF16(bool * bSuccess = NULL);
|
||||
|
||||
void ArgFormat(const char * strFormat, va_list & args);
|
||||
|
||||
};
|
||||
|
||||
class stdstr_f : public stdstr
|
||||
|
|
Loading…
Reference in New Issue