D25061: kconfig_compiler: Move the KSharedConfig::Ptr when using them
    Albert Astals Cid 
    noreply at phabricator.kde.org
       
    Tue Oct 29 21:59:02 GMT 2019
    
    
  
aacid created this revision.
Herald added a project: Frameworks.
Herald added a subscriber: kde-frameworks-devel.
aacid requested review of this revision.
REVISION SUMMARY
  The generated classes of kconfig_compiler take a KSharedConfig::Ptr by
  value, one possibility would be to make them const & but that is BIC so
  instead what we do is just move them to the only place the config is
  used so the cheaper move constructor can be used instead of the copy
  constructor
REPOSITORY
  R237 KConfig
BRANCH
  master
REVISION DETAIL
  https://phabricator.kde.org/D25061
AFFECTED FILES
  autotests/kconfig_compiler/test8a.cpp.ref
  autotests/kconfig_compiler/test8c.cpp.ref
  src/kconfig_compiler/kconfig_compiler.cpp
To: aacid
Cc: kde-frameworks-devel, ervin, apol, LeGast00n, GB_2, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20191029/88b7185c/attachment.html>
    
    
More information about the Kde-frameworks-devel
mailing list