El dijous, 27 de setembre de 2018, a les 21:01:13 CEST, Friedrich W. H.
Kossebau va escriure:
> Am Donnerstag, 27. September 2018, 20:08:54 CEST schrieb Andreas Hartmetz:
> > Today I fixed the third or so crash in KDE software due to the following
> > pattern:
> >
> > const auto str = someString
Darn, forgot some obvious promo bits... see below:
Am Donnerstag, 27. September 2018, 21:01:13 CEST schrieb Friedrich W. H.
Kossebau:
> Am Donnerstag, 27. September 2018, 20:08:54 CEST schrieb Andreas Hartmetz:
> > Please take care.
>
> Care can be done e.g. by deploying clazy with
> auto-unexpe
On giovedì 27 settembre 2018 20:08:54 CEST, Andreas Hartmetz wrote:
Hello,
Today I fixed the third or so crash in KDE software due to the following
pattern:
const auto str = someString + anotherString;
What happens is that the type of str ends up being QStringBuilder
instead of QString. The
Am Donnerstag, 27. September 2018, 20:08:54 CEST schrieb Andreas Hartmetz:
> Today I fixed the third or so crash in KDE software due to the following
> pattern:
>
> const auto str = someString + anotherString;
>
> What happens is that the type of str ends up being QStringBuilder
> instead of QStr
I would be awesome if clazy detected this :)
Em qui, 27 de set de 2018 às 15:09, Andreas Hartmetz
escreveu:
>
> Hello,
>
> Today I fixed the third or so crash in KDE software due to the following
> pattern:
>
> const auto str = someString + anotherString;
>
> What happens is that the type of str e
Hello,
Today I fixed the third or so crash in KDE software due to the following
pattern:
const auto str = someString + anotherString;
What happens is that the type of str ends up being QStringBuilder
instead of QString. The QStringBuilder is destroyed after the semicolon,
and all access to "s