From 669bf62b01b121a3c9fc5092cd9d2ab3392fd92c Mon Sep 17 00:00:00 2001 From: Maxim Mamontov Date: Thu, 29 May 2014 17:36:26 +0300 Subject: [PATCH 1/1] Fixed Split. --- stglibs/common.lib/include/stg/common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.44.2