Update of /cvsroot/boost/boost/boost/spirit/core/non_terminal/impl
In directory 
sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv4418/boost/spirit/core/non_terminal/impl

Modified Files:
      Tag: SPIRIT_RC_1_8_5
        grammar.ipp 
Log Message:
no longer uses make_shared(weak_ptr<T>) - this function has been removed from 
Boost HEAD 


Index: grammar.ipp
===================================================================
RCS file: /cvsroot/boost/boost/boost/spirit/core/non_terminal/impl/grammar.ipp,v
retrieving revision 1.13
retrieving revision 1.13.6.1
diff -u -d -r1.13 -r1.13.6.1
--- grammar.ipp 25 Aug 2005 16:27:25 -0000      1.13
+++ grammar.ipp 13 May 2007 14:00:55 -0000      1.13.6.1
@@ -229,9 +229,9 @@
 # else
         static ptr_t helper;
 # endif
-        if (!boost::make_shared(helper).get())
+        if (!helper.lock().get())
             new helper_t(helper);
-        return boost::make_shared(helper)->define(self);
+        return helper.lock()->define(self);
 #endif
     }
 


-------------------------------------------------------------------------
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