DescriptionProvide move semantic for cricket::Codec and subclasses
The cricket::Codec class contains std containers like
std::map<std::string, std::string> and is expensive to copy. This CL
adds move constructors and move assignment operators for it and all
subclasses.
This CL also:
* Implement functions with '= default' instead of doing it manually.
* Makes codec::Matches symmetric. We currently don't check if the
payload type of the callee is static, and might incorrectly return
true in these cases.
BUG=None
Committed: https://crrev.com/3663c523820c520806e5a9a0269063cc1adf3657
Cr-Commit-Position: refs/heads/master@{#14956}
Patch Set 1 #Patch Set 2 : Remove some faulty test. #
Messages
Total messages: 10 (6 generated)
|