D26126: Simplify param method: Return Early, Use a Map and Assert.

Tomaz Canabrava noreply at phabricator.kde.org
Mon Dec 23 09:14:19 GMT 2019


tcanabrava added a comment.


  static will add a Mutex in the generated assembly (as static variables in c++ are now thread safe) and I'm not sure this is a good thing for const - reading variables. I'll try another approach so we only initialize it once.

REPOSITORY
  R237 KConfig

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

To: tcanabrava
Cc: apol, kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20191223/f5a512a6/attachment.html>


More information about the Kde-frameworks-devel mailing list