diff --git a/include/toolkit.h b/include/toolkit.h index 1009322..e80a156 100644 --- a/include/toolkit.h +++ b/include/toolkit.h @@ -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; }