Fixed a bug in the semantics of less_pointees()

[SVN r21132]
This commit is contained in:
Fernando Cacciola
2003-12-04 01:47:31 +00:00
parent 61fb5a0b8f
commit ec36cd8c54
2 changed files with 36 additions and 8 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ template<class OptionalPointee>
inline
bool less_pointees ( OptionalPointee const& x, OptionalPointee const& y )
{
return !y ? false : ( !x ? true : (*x) < (*y) ) ;
return !y ? false : ( !x ? false : (*x) < (*y) ) ;
}
template<class OptionalPointee>