Commit 8bb6bf44 authored by BRAMAS Berenger's avatar BRAMAS Berenger
Browse files

Add a clear method to the text replacer

parent a5a3a53a
......@@ -119,6 +119,10 @@ public:
return replaceCore(0, keyStr, strlen(keyStr), valueStr, strlen(valueStr)) != content.size();
}
void clear(){
content.clear();
}
};
#endif // FTEXTREPLACER_HPP
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment