About "assignment operators" cppcheck warning
serval2412 at yahoo.fr
Sun Nov 3 13:58:01 PST 2013
Cppcheck reported some cases like this:
const Player& operator=( const Player& other );<--- 'Player::operator='
should return 'Player &'.
Here is the explanation about this choice from cppcheck guys:
Do you think we should apply this? Or perhaps there's no general rule?
View this message in context: http://nabble.documentfoundation.org/About-assignment-operators-cppcheck-warning-tp4081208.html
Sent from the Dev mailing list archive at Nabble.com.
More information about the LibreOffice