Update of /cvsroot/boost/boost/boost/xpressive/detail/utility
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv29498/detail/utility

Modified Files:
        symbols.hpp 
Log Message:
don't compare intrusive_ptrs with 0; msvc-7.1 doesn't like it

Index: symbols.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/xpressive/detail/utility/symbols.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- symbols.hpp 26 Jun 2007 05:44:10 -0000      1.2
+++ symbols.hpp 2 Jul 2007 15:13:18 -0000       1.3
@@ -102,7 +102,7 @@
                 c1 = trans(*begin);
             }
 
-            if(0 == p)
+            if(!p)
             {
                 p = new node;
                 p->ch = c1;
@@ -136,7 +136,7 @@
         {
             result_type r = 0;
 
-            if(0 != p)
+            if(p)
             {
                 BidiIter isave = begin;
 
@@ -158,7 +158,7 @@
                     }
                 }
 
-                if(0 == r && 0 == p->ch)
+                if(!r && 0 == p->ch)
                 {
                     begin = isave;
                     r = p->result;


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs

Reply via email to