DescriptionAdd defaulted move constructors for some types that just got copy constructors
They can all benefit from moving, since they contain std::string and
std::vector. We intended to add these in
https://codereview.webrtc.org/1896953004/, but got compiler errors we
couldn't make sense of, so we skipped them. It turns out that what the
compiler was complaining about was that when we said we'd have a
user-defined move constructor, it stopped generating a copy assignment
operator for us. This CL solves the problem by outfitting the types
with defaulted copy and move assignment operators too.
Committed: https://crrev.com/4fb3d2bcca968e8a0f29d8a20f67238f64f40102
Cr-Commit-Position: refs/heads/master@{#12469}
Patch Set 1 #
Messages
Total messages: 14 (5 generated)
|