implicit QChar constructors
Christopher Eineke
kde-optimize@mail.kde.org
Thu, 23 Jan 2003 02:50:27 -0500
Christopher Eineke wrote:
>
> Holy christ, don't they know their own code? Why not calling setLength
> before the loop?
>
> QString QstringList::join(const QString &seperator) const
> { ^^^^^^^^^
> QString result;
*SNIP* ^^^^^^
> //Concatenating
> for (it = begin(); it != end(); ++it ) {
> if (already)
> res += sep;
> ^^^ ^^^
> already = TRUE;
> res += *it;
> ^^^
> }
Those who throw stones.... :-/
--
Chris