Clean up various minor things

This commit is contained in:
Martin Hořeňovský 2017-08-29 14:02:14 +02:00
parent 5932576f53
commit bcb430b837
7 changed files with 12 additions and 16 deletions

View file

@ -57,8 +57,7 @@ namespace Catch {
std::vector<std::string> tags;
std::string desc, tag;
bool inTag = false;
for( std::size_t i = 0; i < _descOrTags.size(); ++i ) {
char c = _descOrTags[i];
for (char c : _descOrTags) {
if( !inTag ) {
if( c == '[' )
inTag = true;