Internals: Make upcase clean. No functional change.

This commit is contained in:
Wilson Snyder
2024-07-14 15:28:00 -04:00
parent 0658af90f5
commit dc037db1cd
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -79,13 +79,13 @@ string VString::dot(const string& a, const string& dot, const string& b) {
return a + dot + b;
}
string VString::downcase(const string& str) {
string VString::downcase(const string& str) VL_PURE {
string result = str;
for (char& cr : result) cr = std::tolower(cr);
return result;
}
string VString::upcase(const string& str) {
string VString::upcase(const string& str) VL_PURE {
string result = str;
for (char& cr : result) cr = std::toupper(cr);
return result;