commit | 5420bb17cdc507108e56a7ea8fac32f9d666c177 | [log] [tgz] |
---|---|---|
author | Roland McGrath <mcgrathr@google.com> | Tue May 21 02:45:37 2019 +0000 |
committer | CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org> | Tue May 21 02:45:37 2019 +0000 |
tree | 8f72e46c302b65410f3fe7e0e18f32637fcf3fc7 | |
parent | 4c8bfb2bba2d60ee219513fedb8f1000b64ee5ef [diff] |
[cobalt-client] Declare operator= along with copy constructor It's deprecated practice in C++ to declare the copy constructor but then use an implicitly defaulted operator=. If the copy constructor is explicit, then operator= must be explicit. In HistogramOptions the copy constructor is declared so it can be defined = default out of line. So do the same for operator=. (It could as well be declared = default or both could be, or both could be undeclared and implicitly defaulted. Note the default constructor is explicitly declared = default, i.e. inlined. But avoiding excessive inlining is sensible for both.) Change-Id: I222c080ea530d52359caf8437f9c0e4f9f564326
Pink + Purple == Fuchsia (a new operating system)
Fuchsia is a modular, capability-based operating system. Fuchsia runs on modern 64-bit Intel and ARM processors.
Fuchsia is an open source project with a code of conduct that we expect everyone who interacts with the project to respect.
See Getting Started.
See the documentation.