summaryrefslogtreecommitdiff
path: root/src/cppunit/ProtectorChain.cpp
diff options
context:
space:
mode:
authorBaptiste Lepilleur <gaiacrtn@free.fr>2003-03-15 07:55:29 +0000
committerBaptiste Lepilleur <gaiacrtn@free.fr>2003-03-15 07:55:29 +0000
commit3ffdb56a3c368b8b9c227e4ad2e1e0cbc2c494f3 (patch)
tree1019aa01a2632535be2efa91738338eceebb61dc /src/cppunit/ProtectorChain.cpp
parent97bf50c5b400b6304511286580c8ee160629a8a5 (diff)
downloadcppunit-3ffdb56a3c368b8b9c227e4ad2e1e0cbc2c494f3.tar.gz
Src/cppunit/CompilerOutputter.
src/cppunit/CompilerOutputter.cpp: * src/cppunit/ProtectorChain.cpp: * src/cppunit/StringTools.cpp: * src/cppunit/TestPath.cpp: * src/cppunit/TypeInfoHelper.cpp: * src/cppunit/XmlElement.cpp: * src/cppunit/XmlOutputter.cpp: switched to using unsigned index in loop to avoid signed/unsigned warning in vc7. * include/cppunit/extension/ExceptionTestCaseDecorator.h: removed dll export on template (caused link error on vc7).
Diffstat (limited to 'src/cppunit/ProtectorChain.cpp')
-rw-r--r--src/cppunit/ProtectorChain.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cppunit/ProtectorChain.cpp b/src/cppunit/ProtectorChain.cpp
index 8cede2b..f528341 100644
--- a/src/cppunit/ProtectorChain.cpp
+++ b/src/cppunit/ProtectorChain.cpp
@@ -76,7 +76,7 @@ ProtectorChain::protect( const Functor &functor,
const Functor &outermostFunctor = *functors.back();
bool succeed = outermostFunctor();
- for ( int deletingIndex = 0; deletingIndex < m_protectors.size(); ++deletingIndex )
+ for ( unsigned int deletingIndex = 0; deletingIndex < m_protectors.size(); ++deletingIndex )
delete functors[deletingIndex];
return succeed;