Use implicit instead of explicit defaulted constructor for SendDataParams

The explicitly defined constructor suppresses the assignment operator,
which blocks the chromium roll.

Bug: b/198565646
Change-Id: I35917d4b99ad86dcf8b9863e798f5a63d9073824
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/231123
Reviewed-by: Niels Moller <nisse@webrtc.org>
Commit-Queue: Björn Terelius <terelius@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#34904}
This commit is contained in:
Björn Terelius 2021-09-02 10:57:18 +02:00 committed by WebRTC LUCI CQ
parent 677195d3eb
commit e3ff91491e

View file

@ -35,9 +35,6 @@ enum class DataMessageType {
// sent reliably and in-order, even if the data channel is configured for
// unreliable delivery.
struct SendDataParams {
SendDataParams() = default;
SendDataParams(const SendDataParams&) = default;
DataMessageType type = DataMessageType::kText;
// Whether to deliver the message in order with respect to other ordered