mirror of
https://github.com/boostorg/algorithm.git
synced 2025-07-01 15:00:59 +02:00
fixed problem with an iterator being == end and dereferencing it
[SVN r28142]
This commit is contained in:
@ -471,7 +471,7 @@ namespace boost {
|
|||||||
if( m_eCompress==token_compress_on )
|
if( m_eCompress==token_compress_on )
|
||||||
{
|
{
|
||||||
// Find first non-matching character
|
// Find first non-matching character
|
||||||
while( m_Pred(*It2) && It2!=End ) ++It2;
|
while( It2!=End && m_Pred(*It2) ) ++It2;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user