DescriptionDisable copy constructor in public: section or use macro.
According to our style guide on Copyable and Movable Types,
copy/move operators should be disabled in the public: section, not
in the private: section. If disabled with a macro such as
DISALLOW_COPY_AND_ASSIGN, it should be at the end of the private: section,
and should be the last thing in the class.
BUG=
Committed: https://crrev.com/b2fee84f8739632f9df9224c40c6ad52443c4066
Cr-Commit-Position: refs/heads/master@{#38878}
Patch Set 1 #
Depends on Patchset: Messages
Total messages: 14 (9 generated)
|