Here's another easy one that helps out on ginormus strings.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@552198 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
This commit is contained in:
Scott Wheeler 2006-06-16 22:50:09 +00:00
parent e83f93b2c0
commit 6a66c36a0c

View File

@ -84,11 +84,12 @@ String StringList::toString(const String &separator) const
String s;
ConstIterator it = begin();
ConstIterator itEnd = end();
while(it != end()) {
while(it != itEnd) {
s += *it;
it++;
if(it != end())
if(it != itEnd)
s += separator;
}