[Differential] [Commented On] D3987: Use nullptr in all Frameworks (just diff in KIO shown here)

Stephen Kelly noreply at phabricator.kde.org
Wed Jan 18 21:26:14 UTC 2017


skelly added a comment.


  In https://phabricator.kde.org/D3987#78468, @dfaure wrote:
  
  > {} sounds like the best solution to me.
  
  
  I think that should be used instead of nullptr anyway.
  
  void foo(const QModelIndex& idx = {});
  
  is obviously better than
  
  void foo(const QModelIndex& idx = QModelIndex());
  
  and using = {} in all cases for consistency is desirable IMO.

REPOSITORY
  R280 Prison

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

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

To: kfunk, #frameworks, dfaure, kossebau
Cc: skelly, kossebau, dfaure, graesslin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20170118/a080dbda/attachment.html>


More information about the Kde-frameworks-devel mailing list