- make StringHelper::toUtf8() synonym for makeUtf8()
This commit is contained in:
@@ -53,6 +53,11 @@ std::string StringHelper::makeUtf8(const std::tstring &arg)
|
||||
#endif
|
||||
}
|
||||
|
||||
std::string StringHelper::toUtf8(const std::tstring &arg)
|
||||
{
|
||||
return makeUtf8(arg);
|
||||
}
|
||||
|
||||
std::tstring StringHelper::makeTstring(const std::string& arg)
|
||||
{
|
||||
#if defined(TARGET_WIN)
|
||||
|
||||
@@ -23,6 +23,7 @@ public:
|
||||
static std::string appendPath(const std::string& s1, const std::string& s2);
|
||||
|
||||
static std::string makeUtf8(const std::tstring& arg);
|
||||
static std::string toUtf8(const std::tstring& arg);
|
||||
static std::tstring makeTstring(const std::string& arg);
|
||||
static int toInt(const char* s, int defaultValue, bool* isOk = nullptr);
|
||||
static uint64_t toUint64(const char* s, uint64_t def, bool *isOk = nullptr);
|
||||
|
||||
Reference in New Issue
Block a user