fix bug #12187: [set_variables] [split] with empty separator...
...was not doing what it intended to do due to incorrectly converting a char to a string.
This commit is contained in:
parent
fcfa29b88c
commit
0218bd8e54
1 changed files with 1 additions and 1 deletions
|
@ -1370,7 +1370,7 @@ namespace {
|
|||
{
|
||||
for(std::string::iterator i=split_string.begin(); i!=split_string.end(); ++i)
|
||||
{
|
||||
split_vector.push_back(&*i);
|
||||
split_vector.push_back(std::string(1, *i));
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Add table
Reference in a new issue