Stop using some scoped_ptr features that unique_ptr doesn't have

No operator== that accepts one unique_ptr<T> and one T*. No implicit
conversion to bool. No rtc_make_scoped_ptr function.

BUG=webrtc:5520

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

Cr-Commit-Position: refs/heads/master@{#12048}
This commit is contained in:
kwiberg
2016-03-17 22:54:44 -07:00
committed by Commit bot
parent 15622c0aaf
commit 1d50ee44fd
5 changed files with 6 additions and 8 deletions

View File

@ -37,7 +37,6 @@ AsyncUDPSocket* AsyncUDPSocket::Create(SocketFactory* factory,
AsyncUDPSocket::AsyncUDPSocket(AsyncSocket* socket)
: socket_(socket) {
ASSERT(socket_);
size_ = BUF_SIZE;
buf_ = new char[size_];