D15946: Avoid creation of needless temporary containers

Alexander Volkov noreply at phabricator.kde.org
Thu Oct 4 15:55:31 BST 2018


volkov added inline comments.

INLINE COMMENTS

> broulik wrote in waylandoutput.cpp:64
> I think we typically use `const...()` instead of `c...()` but since this method is `const`, shouldn't be neccessary to begin with

Isn't it better to follow STL style?

cbegin is also popular in KDE projects: https://lxr.kde.org/search?_filestring=&_string=cbegin

REPOSITORY
  R110 KScreen Library

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

To: volkov, #plasma
Cc: broulik, plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20181004/7ec22cf9/attachment-0001.html>


More information about the Plasma-devel mailing list