Skip to content

Commit d40d0ae

Browse files
fix calls to sanitize in C++ class
1 parent 1999b47 commit d40d0ae

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

code/logic/fossil/io/soap.h

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)