self assignment problem in is_any_ofF fixed

[SVN r48281]
This commit is contained in:
Pavol Droba
2008-08-21 14:46:15 +00:00
parent 760af1798b
commit 6d5e7b5a04
2 changed files with 42 additions and 17 deletions

View File

@ -102,6 +102,7 @@ void test_pred(const Pred& pred, const Input& input, bool bYes)
// test assignment operator
Pred pred1=pred;
pred1=pred;
pred1=pred1;
if(bYes)
{
BOOST_CHECK( all( input, pred ) );