D15047: Export the StorageDevices object.

Stefan Brüns noreply at phabricator.kde.org
Fri Aug 24 14:42:15 BST 2018


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180824/5bfaa40e/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list