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