| 1376 | } |
| 1377 | |
| 1378 | void RemovePrecedingSpaces(const std::string& string, size_t& start, |
| 1379 | const size_t& end) { |
| 1380 | while (start < end && IsSpace(string, start)) { |
| 1381 | ++start; |
| 1382 | } |
| 1383 | } |
| 1384 | |
| 1385 | void RemoveTrailingSpaces(const std::string& string, const size_t& start, size_t& end) { |
| 1386 | while (start < (end - 1) && (end - 1) < string.size() && IsSpace(string, end - 1)) { |
nothing calls this directly
no outgoing calls
no test coverage detected