| 161 | } |
| 162 | |
| 163 | std::string PlotJugglerUDPStreamer::remove_substr (std::string str, std::string substr) |
| 164 | { |
| 165 | std::string res = str; |
| 166 | size_t pos = str.find (substr); |
| 167 | if (pos != std::string::npos) |
| 168 | { |
| 169 | res.erase (pos, substr.length ()); |
| 170 | } |
| 171 | return res; |
| 172 | } |
nothing calls this directly
no outgoing calls
no test coverage detected