fix 'operator bool()' workaround for borland

[SVN r28932]
This commit is contained in:
Pavol Droba
2005-05-15 17:47:34 +00:00
parent 16989df4d6
commit 75667cc53d

View File

@ -244,7 +244,7 @@ namespace boost
#if BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x564))
operator bool() const
{
return empty();
return !empty();
}
#else
typedef iterator (iterator_range::*unspecified_bool_type) () const;