X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/3ee15695bbd86c97088270b855f810279c2b8275..8b5d7715bf0eb81d5627267b7bcb42cbc5d5e2f0:/stglibs/common.lib/include/stg/common.h diff --git a/stglibs/common.lib/include/stg/common.h b/stglibs/common.lib/include/stg/common.h index 605b9951..eeb68b51 100644 --- a/stglibs/common.lib/include/stg/common.h +++ b/stglibs/common.lib/include/stg/common.h @@ -112,7 +112,7 @@ while (pos != std::string::npos) { res.push_back(conv(value.substr(startPos, pos - startPos))); startPos = pos + 1; - pos = value.find_first_of(delim, pos); + pos = value.find_first_of(delim, pos + 1); } res.push_back(conv(value.substr(startPos, pos - startPos))); return res;