| 375 | } |
| 376 | |
| 377 | double StringConverter::getDoubleParameter(const std::string &msg, |
| 378 | const std::string &header_field, const std::string ¶meter) { |
| 379 | const std::string val = StringConverter::getStringParameter(msg, header_field, parameter); |
| 380 | return val.empty() ? -1.0 : std::stof(val); |
| 381 | } |
| 382 | |
| 383 | int StringConverter::getIntParameter(const std::string &msg, const std::string &header_field, const std::string ¶meter) { |
| 384 | const std::string val = StringConverter::getStringParameter(msg, header_field, parameter); |
nothing calls this directly
no outgoing calls
no test coverage detected