forked from boostorg/regex
Merge pull request #21 from ya1gaurav/patch-4
avoid duplicate check of markid.
This commit is contained in:
@ -2650,7 +2650,7 @@ option_group_jump:
|
|||||||
//
|
//
|
||||||
// allow backrefs to this mark:
|
// allow backrefs to this mark:
|
||||||
//
|
//
|
||||||
if((markid > 0) && (markid < (int)(sizeof(unsigned) * CHAR_BIT)))
|
if(markid < (int)(sizeof(unsigned) * CHAR_BIT))
|
||||||
this->m_backrefs |= 1u << (markid - 1);
|
this->m_backrefs |= 1u << (markid - 1);
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
Reference in New Issue
Block a user