Utility function to redacted a string without modifying the original.
| 63 | |
| 64 | /// Utility function to redacted a string without modifying the original. |
| 65 | inline std::string RedactCopy(const std::string& original) { |
| 66 | std::string temp(original); |
| 67 | Redact(&temp); |
| 68 | return temp; |
| 69 | } |
| 70 | |
| 71 | } |
| 72 |
no test coverage detected