* @brief a quick utility function to trim leading spaces. */
| 203 | * @brief a quick utility function to trim leading spaces. |
| 204 | */ |
| 205 | static void |
| 206 | ltrim(String &target) |
| 207 | { |
| 208 | String::size_type p(target.find_first_not_of(' ')); |
| 209 | |
| 210 | if (p != target.npos) { |
| 211 | target.erase(0, p); |
| 212 | } |
| 213 | } |
| 214 | |
| 215 | /** |
| 216 | * @brief a quick utility function to get next duplicate header. |
no test coverage detected