Clarifying the API changes on IBuildSystemManager

Aleix Pol aleixpol at kde.org
Tue May 24 12:11:50 UTC 2011


yes exactly :)

const QList<Something*>&

That way you make sure that the method won't do nasty stuff to what you're
sending it, just like if it was a copy.

Aleix

On Tue, May 24, 2011 at 9:46 AM, Andreas Pakulat <apaku at gmx.de> wrote:

> On 24.05.11 11:43:16, Olivier J. G. wrote:
> > Done.
>
> Not really :) Its a reference now, which does not make sense since the
> list is not modified. It should be a const-reference instead I think.
>
> Andreas
>
>
> --
> KDevelop-devel mailing list
> KDevelop-devel at kdevelop.org
> https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20110524/e7a01d2b/attachment.html>


More information about the KDevelop-devel mailing list