| 1 | diff -Naur boost_1_50_0_beta1/boost/spirit/home/classic/utility/impl/chset/range_run.ipp boost_1_50_0_beta1_patch/boost/spirit/home/classic/utility/impl/chset/range_run.ipp
|
|---|
| 2 | --- boost_1_50_0_beta1/boost/spirit/home/classic/utility/impl/chset/range_run.ipp 2008-06-22 20:35:38.000000000 +0530
|
|---|
| 3 | +++ boost_1_50_0_beta1_patch/boost/spirit/home/classic/utility/impl/chset/range_run.ipp 2012-06-29 11:54:42.000000000 +0530
|
|---|
| 4 | @@ -91,7 +91,7 @@
|
|---|
| 5 |
|
|---|
| 6 | if (iter != run.end() && iter->includes(v))
|
|---|
| 7 | return true;
|
|---|
| 8 | - if (iter != run.begin())
|
|---|
| 9 | + if (iter != run.end() && iter != run.begin())
|
|---|
| 10 | return (--iter)->includes(v);
|
|---|
| 11 | }
|
|---|
| 12 | return false;
|
|---|