D16484: Add scratchpad plugin
noreply at phabricator.kde.org
Fri Dec 7 06:22:12 GMT 2018
amhndu marked an inline comment as done.
amhndu added inline comments.
> kfunk wrote in scratchpad.cpp:136
> Heh, sorry, misunderstanding. The method should be const, not the return-type.
From what I understand reading https://isocpp.org/wiki/faq/const-correctness#return-const-ref-from-const-memfn, returning a non-const ref from a const member function is not recommended.
Sorry, I didn't mean to argue but I'm trying to learn in the process.
To: amhndu, #kdevelop, kfunk
Cc: kfunk, gregormi, brauch, kdevelop-devel, glebaccon, hase, antismap, iodelay, vbspam, geetamc, Pilzschaf, akshaydeo, surgenight, arrowd
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the KDevelop-devel