Change some pointers to std::unique_ptr in rtp_rtcp tests.

Bug: none
Change-Id: Ia4e69e44bbda7b5b633b8be1779d105649f44930
Reviewed-on: https://webrtc-review.googlesource.com/94844
Commit-Queue: Åsa Persson <asapersson@webrtc.org>
Reviewed-by: Rasmus Brandt <brandtr@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24419}
This commit is contained in:
Åsa Persson
2018-08-23 16:36:58 +02:00
committed by Commit Bot
parent e89dda7cb9
commit a765c8208a
4 changed files with 142 additions and 163 deletions

View File

@ -13,7 +13,6 @@
#include <algorithm>
#include <memory>
#include <string>
#include <vector>
#include "rtc_base/checks.h"
#include "rtc_base/rate_limiter.h"
@ -96,10 +95,10 @@ class RtpRtcpAPITest : public ::testing::Test {
module_->SetSSRC(kInitialSsrc);
}
std::unique_ptr<RtpRtcp> module_;
SimulatedClock fake_clock_;
test::NullTransport null_transport_;
RateLimiter retransmission_rate_limiter_;
std::unique_ptr<RtpRtcp> module_;
};
TEST_F(RtpRtcpAPITest, Basic) {