forked from boostorg/range
fix 'operator bool()' workaround for borland
[SVN r28932]
This commit is contained in:
1 parent
16989df4d6
commit
75667cc53d
1 file changed
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user