Update of /cvsroot/boost/boost/libs/xpressive/test
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv19479
Modified Files:
test_cycles.cpp
Log Message:
reset regex_impl<>::instances to zero between tests
Index: test_cycles.cpp
===================================================================
RCS file: /cvsroot/boost/boost/libs/xpressive/test/test_cycles.cpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- test_cycles.cpp 5 Mar 2007 20:48:10 -0000 1.7
+++ test_cycles.cpp 27 May 2007 06:42:23 -0000 1.8
@@ -63,6 +63,7 @@
if(0 != detail::regex_impl<std::string::const_iterator>::instances)
{
BOOST_ERROR("leaks detected (cycle test 1)");
+ detail::regex_impl<std::string::const_iterator>::instances = 0;
}
{
@@ -90,6 +91,7 @@
if(0 != detail::regex_impl<std::string::const_iterator>::instances)
{
BOOST_ERROR("leaks detected (cycle test 2)");
+ detail::regex_impl<std::string::const_iterator>::instances = 0;
}
{
@@ -118,6 +120,7 @@
if(0 != detail::regex_impl<std::string::const_iterator>::instances)
{
BOOST_ERROR("leaks detected (cycle test 3)");
+ detail::regex_impl<std::string::const_iterator>::instances = 0;
}
{
@@ -145,6 +148,7 @@
if(0 != detail::regex_impl<std::string::const_iterator>::instances)
{
BOOST_ERROR("leaks detected (cycle test 4)");
+ detail::regex_impl<std::string::const_iterator>::instances = 0;
}
{
@@ -190,6 +194,7 @@
if(0 != detail::regex_impl<std::string::const_iterator>::instances)
{
BOOST_ERROR("leaks detected (cycle test 5)");
+ detail::regex_impl<std::string::const_iterator>::instances = 0;
}
}
-------------------------------------------------------------------------
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