From 8458e9a72389eef2a76e66d2b427e490ba92c9e6 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 1dd8c1c7..94c26a8b 100644 --- a/stglibs/common.lib/include/stg/common.h +++ b/stglibs/common.lib/include/stg/common.h @@ -107,7 +107,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