[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdenetwork/kopete/protocols/groupwise/libgroupwise
From: Laurent Montel <montel () kde ! org>
Date: 2008-12-31 8:40:36
Message-ID: 1230712836.440002.20061.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 903652 by mlaurent:
Fix iterator
M +3 -3 securestream.cpp
--- trunk/KDE/kdenetwork/kopete/protocols/groupwise/libgroupwise/securestream.cpp #903651:903652
@@ -545,12 +545,12 @@
void SecureStream::layer_needWrite(const QByteArray &a)
{
SecureLayer *s = (SecureLayer *)sender();
- SecureLayerList::const_iterator it = d->layers.begin();
- while(*it != s && it != d->layers.end())
+ SecureLayerList::const_iterator it = d->layers.constBegin();
+ while(*it != s && it != d->layers.constEnd())
++it;
// pass downwards
- if ( it != d->layers.begin() ) {
+ if ( it != d->layers.constBegin() ) {
--it;
s = *it;
if(s)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic