Revision: 621
Author: arnetheduck
Date: 2006-06-18 14:46:33 -0700 (Sun, 18 Jun 2006)
ViewCVS: http://svn.sourceforge.net/dcplusplus/?rev=621&view=rev
Log Message:
-----------
invalid asserts
Modified Paths:
--------------
dcplusplus/trunk/client/ShareManager.cpp
Modified: dcplusplus/trunk/client/ShareManager.cpp
===================================================================
--- dcplusplus/trunk/client/ShareManager.cpp 2006-06-18 16:50:11 UTC (rev 620)
+++ dcplusplus/trunk/client/ShareManager.cpp 2006-06-18 21:46:33 UTC (rev 621)
@@ -1180,7 +1180,6 @@
if(!newStr.get()) {
newStr = auto_ptr<StringSearch::List>(new StringSearch::List(aStrings));
}
- dcassert(find(newStr->begin(), newStr->end(), *k) != newStr->end());
newStr->erase(remove(newStr->begin(), newStr->end(), *k), newStr->end());
}
}
@@ -1312,7 +1311,6 @@
if(!newStr.get()) {
newStr = auto_ptr<StringSearch::List>(new StringSearch::List(*cur));
}
- dcassert(find(newStr->begin(), newStr->end(), *k) != newStr->end());
newStr->erase(remove(newStr->begin(), newStr->end(), *k), newStr->end());
}
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|