BIC changes in kdelibs: knewstuff2

Alex Merry huntedhacker at tiscali.co.uk
Thu Apr 10 12:39:51 BST 2008


On Tuesday 08 April 2008 20:53:11 jeremy at scitools.com wrote:
> On Tuesday 08 April 2008 13:33:41 Jaroslaw Staniek wrote:
> > Hello,
> > Is knewstuff2 within our BC policy of kdelibs?
> >
> > BC is broken - to point just two:
> >
> > http://websvn.kde.org/trunk/KDE/kdelibs/knewstuff/knewstuff2/core/entry.h
> >?r 1=794075&r2=794096
> > http://websvn.kde.org/trunk/KDE/kdelibs/knewstuff/knewstuff2/core/entry.h
> >?r 1=794066&r2=794075
>
> hmm, it's supposed to  I believe.  Should I revert those changes?

I believe for the constness parts you should just be able to add in a second 
const version of the method, and call the const implementation from the non-
const implementation.  That should maintain BC while allowing the method to be 
called on const objects.

Alex



-- 
KDE: http://www.kde.org
Ubuntu/Kubuntu: http://www.ubuntu.org http://www.kubuntu.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080410/7ad55f9b/attachment.sig>


More information about the kde-core-devel mailing list