summaryrefslogtreecommitdiff
path: root/boost/boost.gcc47679.patch
blob: 4af42b0dc8540ea141a66ceb72cad381579b41ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- misc/boost_1_44_0/compare_pointees.hpp	2011-02-10 16:39:05.960176555 +0000
+++ 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) ) ;
+  if ((!x) != (!y))
+    return false;
+  if (!x)
+    return true;
+  return (*x) == (*y);
 }
 
 template<class OptionalPointee>