File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -81,10 +81,9 @@ namespace fossil {
8181 * Sanitize input text by removing or replacing "rot-brain" and meme-based language.
8282 *
8383 * @param text The input text to sanitize.
84- * @param censor_char Character to use for censoring (default: '*').
8584 * @return A dynamically allocated sanitized string (must be freed by the caller).
8685 */
87- static std::string sanitize (const std::string &text, char censor_char = ' * ' ) {
86+ static std::string sanitize (const std::string &text) {
8887 return fossil_io_soap_sanitize (text.c_str ());
8988 }
9089
@@ -130,10 +129,9 @@ namespace fossil {
130129 * Sanitize input text by removing or replacing "rot-brain" and meme-based language.
131130 *
132131 * @param text The input text to sanitize.
133- * @param censor_char Character to use for censoring (default: '*').
134132 * @return A dynamically allocated sanitized string (must be freed by the caller).
135133 */
136- static char * sanitize (const char * text, char censor_char = ' * ' ) {
134+ static char * sanitize (const char * text) {
137135 return fossil_io_soap_sanitize (text);
138136 }
139137
You can’t perform that action at this time.
0 commit comments