| 736 | }; |
| 737 | |
| 738 | static std::string applyRemove( std::string const & text, Config const & config ) |
| 739 | { |
| 740 | if ( config.toRemove.empty() ) |
| 741 | return text; |
| 742 | |
| 743 | auto result = text; |
| 744 | size_t startPos = 0u; |
| 745 | |
| 746 | while ( ( startPos = result.find( config.toRemove, startPos ) ) != std::string::npos ) |
| 747 | result.replace( startPos, config.toRemove.length(), "" ); |
| 748 | |
| 749 | return result; |
| 750 | } |
| 751 | } |
| 752 | |
| 753 | DisplayResult displayTransitions( RunnableGraph const & value |
no test coverage detected