D19251: Make it compiles without foreach
    David Faure 
    noreply at phabricator.kde.org
       
    Sun Feb 24 08:11:53 GMT 2019
    
    
  
dfaure accepted this revision.
dfaure added a comment.
This revision is now accepted and ready to land.
  Ah, no, you're right.
  
  I remembered that there was a problem with function calls (rvalues) but that problem is not what I thought, it's the fact that one can't write qAsConst(myFunc()) (because the return value gets destroyed before it's used).
  But if the rvalue is const already, no problem.
REPOSITORY
  R243 KArchive
BRANCH
  compile_without_foreach (branched from master)
REVISION DETAIL
  https://phabricator.kde.org/D19251
To: mlaurent, dfaure
Cc: kde-frameworks-devel, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190224/fc9ad4f5/attachment.html>
    
    
More information about the Kde-frameworks-devel
mailing list