Silenced a few warnings

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
This commit is contained in:
Ian Bell
2014-08-15 15:57:33 +02:00
parent 2136f417b9
commit d4e7a6015e
5 changed files with 10 additions and 19 deletions

View File

@@ -56,7 +56,7 @@ std::vector<std::string> strsplit(std::string s, char del)
iR = s.find_first_of(del,iR+1);
// Move the iL to the right to avoid the delimiter
iL += 1;
if (iR == (int)std::string::npos)
if (iR == std::string::npos)
{
v.push_back(s.substr(iL,N-iL));
break;