* @brief not empty validator. * @param value * @return */
| 59 | * @return |
| 60 | */ |
| 61 | bool string_not_empty(const char*, const std::string& value) { |
| 62 | if (0 == value.length()) { return false; } |
| 63 | return true; |
| 64 | } |
| 65 | |
| 66 | DEFINE_validator(input, &string_not_empty); |
| 67 | DEFINE_validator(output, &string_not_empty); |
nothing calls this directly
no outgoing calls
no test coverage detected