git.stg.codes
/
stg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3d4b1a
)
Fixed Split.
author
Maxim Mamontov
<faust.madf@gmail.com>
Thu, 29 May 2014 14:36:26 +0000
(17:36 +0300)
committer
Maxim Mamontov
<faust.madf@gmail.com>
Fri, 9 Jan 2015 19:57:16 +0000
(21:57 +0200)
stglibs/common.lib/include/stg/common.h
patch
|
blob
|
history
diff --git
a/stglibs/common.lib/include/stg/common.h
b/stglibs/common.lib/include/stg/common.h
index 1dd8c1c72f7694c7049abdf2650e1b0851b3ec05..94c26a8b26c021fd9c478c81910e86edfaa9994a 100644
(file)
--- 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;