mirror of
https://github.com/LizardByte/Sunshine.git
synced 2025-08-10 00:52:16 +00:00
Use C++20. (#2322)
This commit is contained in:
@@ -1510,7 +1510,7 @@ namespace platf {
|
||||
std::stringstream ss;
|
||||
ss << std::hex << std::setfill('0');
|
||||
for (const auto &ch : str) {
|
||||
ss << ch;
|
||||
ss << static_cast<uint_least32_t>(ch);
|
||||
}
|
||||
|
||||
std::string hex_unicode(ss.str());
|
||||
|
||||
Reference in New Issue
Block a user