D16167: Instead of copying and clearing the file list, just move it

Stefan BrĂ¼ns noreply at phabricator.kde.org
Tue Oct 16 17:26:16 BST 2018


bruns added a comment.


  `auto runnable = new NewFileIndexer(m_db, m_config, std::exchange(m_newFiles, {}));` would work, but that is C++14

REPOSITORY
  R293 Baloo

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

To: bruns, #baloo, #frameworks, poboiko
Cc: kde-frameworks-devel, ashaposhnikov, michaelh, astippich, spoorun, ngraham, bruns, abrahams
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20181016/cb11db42/attachment.html>


More information about the Kde-frameworks-devel mailing list