Update of /cvsroot/boost/boost/boost/archive
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv18661/boost/archive

Modified Files:
      Tag: RC_1_34_0
        basic_text_oprimitive.hpp basic_xml_archive.hpp 
Log Message:
Resolve Trac #992.

Index: basic_text_oprimitive.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/archive/basic_text_oprimitive.hpp,v
retrieving revision 1.12
retrieving revision 1.12.2.1
diff -u -d -r1.12 -r1.12.2.1
--- basic_text_oprimitive.hpp   4 Feb 2006 20:35:35 -0000       1.12
+++ basic_text_oprimitive.hpp   25 May 2007 20:07:54 -0000      1.12.2.1
@@ -89,8 +89,10 @@
     void save(const bool t){
         // trap usage of invalid uninitialized boolean which would
         // otherwise crash on load.
+#ifndef NDEBUG
         int i = t;
         assert(0 == i || 1 == i);
+#endif
         if(os.fail())
             
boost::throw_exception(archive_exception(archive_exception::stream_error));
         os << t;

Index: basic_xml_archive.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/archive/basic_xml_archive.hpp,v
retrieving revision 1.8
retrieving revision 1.8.10.1
diff -u -d -r1.8 -r1.8.10.1
--- basic_xml_archive.hpp       2 Jul 2005 05:52:14 -0000       1.8
+++ basic_xml_archive.hpp       25 May 2007 20:07:54 -0000      1.8.10.1
@@ -36,7 +36,7 @@
         xml_archive_tag_mismatch,
         xml_archive_tag_name_error
     } exception_code;
-    xml_archive_exception(exception_code c)
+    xml_archive_exception(exception_code /* c */)
     {}
     virtual const char *what( ) const throw( )
     {


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