D6396: Refactor the specification of OpenGL context attributes

Martin Flöser noreply at phabricator.kde.org
Tue Jun 27 04:22:53 UTC 2017


graesslin added inline comments.

INLINE COMMENTS

> davidedmundson wrote in egl_context_attribute_builder.cpp:50
> Do you have some sort of checklist of C++11 features to use?
> 
> For a single integer, emplace_back is going to do the exact same thing as the standard push_back.

If one always uses emplace one doesn't forget to use it when it matters

REPOSITORY
  R108 KWin

BRANCH
  context-attribute-builder

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

To: graesslin, #kwin, #plasma, davidedmundson
Cc: davidedmundson, plasma-devel, kwin, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart, lukas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20170627/397757b5/attachment-0001.html>


More information about the Plasma-devel mailing list