bruns added inline comments.

INLINE COMMENTS

> smithjd wrote in fileindexerconfig.cpp:322
> According to 
> https://www.dvratil.cz/2015/06/qt-containers-and-c11-range-based-loops this 
> particular example will detach with or without the const intermediate.

Citing from above:

> To sum this up, when using range-based loops with Qt containers:
>  Make sure the container is const …
>  … or make sure the container is not shared.

REPOSITORY
  R293 Baloo

REVISION DETAIL
  https://phabricator.kde.org/D15047

To: smithjd, broulik
Cc: bruns, kde-frameworks-devel, #baloo, ashaposhnikov, michaelh, astippich, 
spoorun, ngraham, abrahams

Reply via email to