Update of /cvsroot/boost/boost/boost/archive
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv3972
Modified Files:
basic_binary_iprimitive.hpp
Log Message:
fixed bug count->scount
Index: basic_binary_iprimitive.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/archive/basic_binary_iprimitive.hpp,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- basic_binary_iprimitive.hpp 22 Jun 2006 07:20:23 -0000 1.11
+++ basic_binary_iprimitive.hpp 16 Jul 2007 16:18:29 -0000 1.12
@@ -160,7 +160,7 @@
static_cast<Elem *>(address),
s
);
- if(count != static_cast<std::size_t>(s))
+ if(scount != static_cast<std::size_t>(s))
boost::throw_exception(
archive_exception(archive_exception::stream_error)
);
@@ -171,7 +171,7 @@
//
boost::throw_exception(archive_exception(archive_exception::stream_error));
Elem t;
scount = m_sb.sgetn(& t, 1);
- if(count != 1)
+ if(scount != 1)
boost::throw_exception(
archive_exception(archive_exception::stream_error)
);
-------------------------------------------------------------------------
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