Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- From f8a25dcb46540f881d5c65b1cf3799fafcc06e9c Mon Sep 17 00:00:00 2001
- From: Kevin Ottens <ervin@kde.org>
- Date: Mon, 8 Nov 2010 23:22:48 +0100
- Subject: [PATCH] Make it build with QT_STRICT_ITERATORS.
- ---
- TelepathyQt4/referenced-handles.cpp | 4 ++--
- 1 files changed, 2 insertions(+), 2 deletions(-)
- diff --git a/TelepathyQt4/referenced-handles.cpp b/TelepathyQt4/referenced-handles.cpp
- index e7e9a36..3ac391e 100644
- --- a/TelepathyQt4/referenced-handles.cpp
- +++ b/TelepathyQt4/referenced-handles.cpp
- @@ -68,7 +68,7 @@ struct TELEPATHY_QT4_NO_EXPORT ReferencedHandles::Private : public QSharedData
- return;
- }
- - for (const_iterator i = handles.begin(); i != handles.end(); ++i) {
- + for (const_iterator i = handles.constBegin(); i != handles.constEnd(); ++i) {
- conn->refHandle(handleType, *i);
- }
- }
- @@ -84,7 +84,7 @@ struct TELEPATHY_QT4_NO_EXPORT ReferencedHandles::Private : public QSharedData
- return;
- }
- - for (const_iterator i = handles.begin(); i != handles.end(); ++i) {
- + for (const_iterator i = handles.constBegin(); i != handles.constEnd(); ++i) {
- conn->unrefHandle(handleType, *i);
- }
- }
- --
- 1.7.1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement