| 353 | } |
| 354 | |
| 355 | void StringUtil::toUpper(std::string* str) { |
| 356 | auto& str_ref = *str; |
| 357 | |
| 358 | for (size_t i = 0; i < str_ref.length(); ++i) { |
| 359 | str_ref[i] = std::toupper(str_ref[i]); |
| 360 | } |
| 361 | } |
| 362 | |
| 363 | size_t StringUtil::find(const std::string& str, char chr) { |
| 364 | for (size_t i = 0; i < str.length(); ++i) { |
nothing calls this directly
no outgoing calls
no test coverage detected