Use C++20. (#2322)

This commit is contained in:
Tejas Rao 2024-04-26 12:49:15 -07:00 committed by GitHub
commit 7fb8c76590
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
16 changed files with 29 additions and 16 deletions

View file

@ -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());