mirror of
https://github.com/KhronosGroup/Vulkan-Hpp.git
synced 2024-10-14 16:32:17 +00:00
Merge pull request #594 from asuessenbach/trim
Trim tokenized sub-strings.
This commit is contained in:
commit
1636a526dc
@ -726,7 +726,7 @@ std::vector<std::string> tokenize( std::string const & tokenString, std::string
|
||||
end = tokenString.find( separator, start );
|
||||
if ( start != end )
|
||||
{
|
||||
tokens.push_back( tokenString.substr( start, end - start ) );
|
||||
tokens.push_back( trim( tokenString.substr( start, end - start ) ) );
|
||||
}
|
||||
start = end + separator.length();
|
||||
} while ( end != std::string::npos );
|
||||
|
Loading…
Reference in New Issue
Block a user