delete is meant to be used on pointers to delete memory that was allocated using new. *it is not a pointer, it's a std::string, and you didn't use new to create it so delete is not what you should be using here.
On line 38 you remove the string from the vector. You don't need to do more than that.
Note that after line 38 it will refer to the element after the removed element and then on line 21 it will be stepped once again so the loop misses to handle the element after the removed one. To avoid this you should make sure that it++ is only executed if the previous element was not removed, something like this:
1 2 3 4 5 6 7 8 9 10 11 12 13 14
for(auto it = vList.begin(); it != vList.end();)
{
...
if(...)
{
...
it = vList.erase(it);
...
}
else
{
it++;
}
}