2011-02-10 20:25:07 +00:00
|
|
|
--- misc/boost_1_44_0/boost/utility/compare_pointees.hpp 2011-02-10 16:39:05.960176555 +0000
|
2011-02-10 16:55:32 +00:00
|
|
|
+++ misc/build/boost_1_44_0/boost/utility/compare_pointees.hpp 2011-02-10 16:40:59.091423279 +0000
|
|
|
|
@@ -29,7 +29,11 @@
|
|
|
|
inline
|
|
|
|
bool equal_pointees ( OptionalPointee const& x, OptionalPointee const& y )
|
|
|
|
{
|
|
|
|
- return (!x) != (!y) ? false : ( !x ? true : (*x) == (*y) ) ;
|
2011-02-10 20:25:07 +00:00
|
|
|
+ if (!x && !y)
|
2011-02-10 16:55:32 +00:00
|
|
|
+ return true;
|
2011-02-10 20:25:07 +00:00
|
|
|
+ if (!x || !y)
|
|
|
|
+ return false;
|
2011-02-10 16:55:32 +00:00
|
|
|
+ return (*x) == (*y);
|
|
|
|
}
|
|
|
|
|
|
|
|
template<class OptionalPointee>
|