forked from boostorg/utility
Fixed a bug in the semantics of less_pointees() {again}
[SVN r21133]
This commit is contained in:
@@ -52,7 +52,7 @@ template<class OptionalPointee>
|
||||
inline
|
||||
bool less_pointees ( OptionalPointee const& x, OptionalPointee const& y )
|
||||
{
|
||||
return !y ? false : ( !x ? false : (*x) < (*y) ) ;
|
||||
return !y ? false : ( !x ? true : (*x) < (*y) ) ;
|
||||
}
|
||||
|
||||
template<class OptionalPointee>
|
||||
|
||||
Reference in New Issue
Block a user