Update src/extractor/restriction_parser.cpp
Co-authored-by: Michael Bell <moke.byll@gmail.com>
This commit is contained in:
parent
1d86602cee
commit
ecbee99269
@ -266,7 +266,7 @@ bool RestrictionParser::ShouldIgnoreRestriction(const std::string &except_tag_st
|
||||
|
||||
// split `except_tag_string` by semicolon and check if any of items is in `restrictions`
|
||||
std::string current_string;
|
||||
for (size_t index = 0; index < except_tag_string.size(); index++)
|
||||
for (auto index : util::irange<size_t>(0, except_tag_string.size())
|
||||
{
|
||||
const auto ch = except_tag_string[index];
|
||||
if (ch != ';')
|
||||
|
||||
Loading…
Reference in New Issue
Block a user