[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdepim/kmail
From:       Peter Kümmel <syntheticpp () yahoo ! com>
Date:       2007-07-23 21:32:01
Message-ID: 1185226321.165479.22737.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 691539 by kuemmel:

msvc: const function calls const function calls const function calls const function ...

 M  +2 -2      accountmanager.h  


--- trunk/KDE/kdepim/kmail/accountmanager.h #691538:691539
@@ -88,13 +88,13 @@
     /**
       First account of the list.
     */
-    const KMAccount *first() const { return first(); }
+    const KMAccount *first() const { return const_cast<AccountManager*>(this)->first(); }
     KMAccount *first();
 
     /**
       Next account of the list/
     */
-    const KMAccount *next() const { return next(); }
+    const KMAccount *next() const { return const_cast<AccountManager*>(this)->next(); }
     KMAccount *next();
 
     /**
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic