mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-06-23 23:41:13 +08:00
Fix reversed comments for string conversion functions (#1053)
This commit is contained in:
parent
bbe6d1e0a3
commit
96d817217c
@ -1561,7 +1561,7 @@ std::vector<WordBreakProperty> Utf8ToWordBreakProperty(
|
||||
return out;
|
||||
}
|
||||
|
||||
/// Convert a UTF8 std::string into a std::wstring.
|
||||
/// Convert a std::wstring into a UTF8 std::string.
|
||||
std::string to_string(const std::wstring& s) {
|
||||
std::string out;
|
||||
|
||||
@ -1633,7 +1633,7 @@ std::string to_string(const std::wstring& s) {
|
||||
return out;
|
||||
}
|
||||
|
||||
/// Convert a std::wstring into a UTF8 std::string.
|
||||
/// Convert a UTF8 std::string into a std::wstring.
|
||||
std::wstring to_wstring(const std::string& s) {
|
||||
std::wstring out;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user