mirror of
https://github.com/catchorg/Catch2.git
synced 2025-05-25 05:59:24 +00:00
Clean up various minor things
This commit is contained in:
parent
5932576f53
commit
bcb430b837
7 changed files with 12 additions and 16 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue