mirror of
https://github.com/boostorg/regex.git
synced 2025-07-17 14:22:08 +02:00
avoid duplicate check of markid.
Markid is already checked to be >0.
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