Replace scoped_ptr with unique_ptr in webrtc/call/

BUG=webrtc:5520

Review URL: https://codereview.webrtc.org/1789903003

Cr-Commit-Position: refs/heads/master@{#11970}
This commit is contained in:
kwiberg
2016-03-12 06:10:44 -08:00
committed by Commit bot
parent 83f831a919
commit b25345ee3f
13 changed files with 42 additions and 37 deletions

View File

@ -8,13 +8,13 @@
* be found in the AUTHORS file in the root of the source tree.
*/
#include <algorithm>
#include <memory>
#include <sstream>
#include <string>
#include "testing/gtest/include/gtest/gtest.h"
#include "webrtc/base/checks.h"
#include "webrtc/base/scoped_ptr.h"
#include "webrtc/base/thread_annotations.h"
#include "webrtc/call.h"
#include "webrtc/call/transport_adapter.h"
@ -235,7 +235,7 @@ void CallPerfTest::TestAudioVideoSync(FecMode fec,
private:
int channel_;
VoENetwork* voe_network_;
rtc::scoped_ptr<RtpHeaderParser> parser_;
std::unique_ptr<RtpHeaderParser> parser_;
};
VoiceEngine* voice_engine = VoiceEngine::Create();