| 58 | } |
| 59 | |
| 60 | void ToLower(std::string& str) { |
| 61 | // std::tolower() returns int which can cause compiler warnings |
| 62 | std::transform(str.begin(), str.end(), str.begin(), [](char c) { return static_cast<char>(std::tolower(c)); }); |
| 63 | } |
| 64 | |
| 65 | void ToUpper(std::string& str) { |
| 66 | // std::toupper() returns int which can cause compiler warnings |
no test coverage detected