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

Modified Files:
        grammar.ipp 
Log Message:
-- make_shared has been removed from weak_ptr.hpp. Adjusted code to
   use weak_ptr.lock() and weak_ptr.expired() instead.


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


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs

Reply via email to