Update restriction_parser.cpp
This commit is contained in:
parent
ff704db720
commit
70a507f371
@ -267,7 +267,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`
|
// split `except_tag_string` by semicolon and check if any of items is in `restrictions`
|
||||||
std::string current_string;
|
std::string current_string;
|
||||||
for (auto index : util::irange<size_t>(0, except_tag_string.size())
|
for (auto index : util::irange<size_t>(0, except_tag_string.size()))
|
||||||
{
|
{
|
||||||
const auto ch = except_tag_string[index];
|
const auto ch = except_tag_string[index];
|
||||||
if (ch != ';')
|
if (ch != ';')
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user