From 8623c75cc59e3fcd02e4dc4020e695b723b8c4a8 Mon Sep 17 00:00:00 2001 From: Per Kjellander Date: Mon, 15 Feb 2021 11:34:10 +0100 Subject: [PATCH] Remove ctor for BuiltInNetworkBehaviorConfig The purpose is to allow parameterized construction. Ex, const webrtc::BuiltInNetworkBehaviorConfig good_network_config = { .queue_length_packets = 50, .queue_delay_ms = 10, .link_capacity_kbps = 5000}; Bug: None Change-Id: I36b216eea8d1fd69d37f2f9f67a9645a7de2a467 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/207426 Reviewed-by: Artem Titov Commit-Queue: Per Kjellander Cr-Commit-Position: refs/heads/master@{#33270} --- api/test/simulated_network.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/api/test/simulated_network.h b/api/test/simulated_network.h index 3fba61f74d..fcac51f4ea 100644 --- a/api/test/simulated_network.h +++ b/api/test/simulated_network.h @@ -46,8 +46,7 @@ struct PacketDeliveryInfo { // for built-in network behavior that will be used by WebRTC if no custom // NetworkBehaviorInterface is provided. struct BuiltInNetworkBehaviorConfig { - BuiltInNetworkBehaviorConfig() {} - // Queue length in number of packets. + // Queue length in number of packets. size_t queue_length_packets = 0; // Delay in addition to capacity induced delay. int queue_delay_ms = 0;