updated to the current pikotools api from branch api2021
This commit is contained in:
@@ -420,7 +420,7 @@ size_t i = 0;
|
||||
|
||||
while( i < buf.size() )
|
||||
{
|
||||
if( PT::IsSubString(look_for.c_str(), buf.c_str() + i) )
|
||||
if( PT::is_substr(look_for.c_str(), buf.c_str() + i) )
|
||||
{
|
||||
buf.erase(i, look_for.size());
|
||||
buf.insert(i, replace);
|
||||
|
Reference in New Issue
Block a user