[3393728] [PATCH 1/2] ommit->omit and splitted->split
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1064 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
This commit is contained in:
@@ -28,7 +28,7 @@ StringTools::Strings
|
||||
StringTools::split( const std::string &text,
|
||||
char separator )
|
||||
{
|
||||
Strings splittedText;
|
||||
Strings splitText;
|
||||
|
||||
std::string::const_iterator itStart = text.begin();
|
||||
while ( !text.empty() )
|
||||
@@ -36,14 +36,14 @@ StringTools::split( const std::string &text,
|
||||
std::string::const_iterator itSeparator = std::find( itStart,
|
||||
text.end(),
|
||||
separator );
|
||||
splittedText.push_back( text.substr( itStart - text.begin(),
|
||||
splitText.push_back( text.substr( itStart - text.begin(),
|
||||
itSeparator - itStart ) );
|
||||
if ( itSeparator == text.end() )
|
||||
break;
|
||||
itStart = itSeparator +1;
|
||||
}
|
||||
|
||||
return splittedText;
|
||||
return splitText;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user