fix string replace
This commit is contained in:
@@ -55,7 +55,7 @@ namespace toolkit{
|
||||
}
|
||||
size_t len = 0;
|
||||
while(true){
|
||||
auto pos = result.find_first_of(d);
|
||||
auto pos = result.find(d);
|
||||
if(pos == std::string::npos){
|
||||
return result;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user