Use C++20. (#2322)

This commit is contained in:
Tejas Rao
2024-04-26 12:49:15 -07:00
committed by GitHub
parent 9288775351
commit 7fb8c76590
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());