Fix scoped_ptrs in bwe_simulations.
R=kwiberg@webrtc.org Review URL: https://webrtc-codereview.appspot.com/45469004 Cr-Commit-Position: refs/heads/master@{#8618} git-svn-id: http://webrtc.googlecode.com/svn/trunk@8618 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
74304330df
commit
c3f15c08bc
@ -227,7 +227,7 @@ TEST_P(BweSimulation, SelfFairnessTest) {
|
|||||||
RateCounterFilter total_utilization(
|
RateCounterFilter total_utilization(
|
||||||
&uplink_, CreateFlowIds(kAllFlowIds, kNumFlows), "total_utilization");
|
&uplink_, CreateFlowIds(kAllFlowIds, kNumFlows), "total_utilization");
|
||||||
|
|
||||||
scoped_ptr<PacketReceiver> receivers[kNumFlows];
|
rtc::scoped_ptr<PacketReceiver> receivers[kNumFlows];
|
||||||
for (size_t i = 0; i < kNumFlows; ++i) {
|
for (size_t i = 0; i < kNumFlows; ++i) {
|
||||||
receivers[i].reset(new PacketReceiver(&uplink_, kAllFlowIds[i], GetParam(),
|
receivers[i].reset(new PacketReceiver(&uplink_, kAllFlowIds[i], GetParam(),
|
||||||
i == 0, false));
|
i == 0, false));
|
||||||
@ -264,7 +264,7 @@ TEST_P(BweSimulation, PacedSelfFairnessTest) {
|
|||||||
RateCounterFilter total_utilization(
|
RateCounterFilter total_utilization(
|
||||||
&uplink_, CreateFlowIds(kAllFlowIds, kNumFlows), "total_utilization");
|
&uplink_, CreateFlowIds(kAllFlowIds, kNumFlows), "total_utilization");
|
||||||
|
|
||||||
scoped_ptr<PacketReceiver> receivers[kNumFlows];
|
rtc::scoped_ptr<PacketReceiver> receivers[kNumFlows];
|
||||||
for (size_t i = 0; i < kNumFlows; ++i) {
|
for (size_t i = 0; i < kNumFlows; ++i) {
|
||||||
receivers[i].reset(new PacketReceiver(&uplink_, kAllFlowIds[i], GetParam(),
|
receivers[i].reset(new PacketReceiver(&uplink_, kAllFlowIds[i], GetParam(),
|
||||||
i == 0, false));
|
i == 0, false));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user