fix string replace
This commit is contained in:
parent
061c574cce
commit
f3468a596f
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user