dfaure added a comment.

  It's not crazy, but
  
  - then it should use QVector instead of QList (Client is a "big" struct, 
bigger than a pointer)
  - I would be worried about copies happening unexpectedly (can this code 
compile with forbidden copy ctor for Client? I guess not as is due to insertion 
into the vector.... but maybe std::move can be used there, or simply setting 
the members directly onto a ref for vector[i]).

REPOSITORY
  R244 KCoreAddons

BRANCH
  master

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

EMAIL PREFERENCES
  https://phabricator.kde.org/settings/panel/emailpreferences/

To: dfaure, mpyne, aacid
Cc: #frameworks

Reply via email to