Stop inheriting from has_slots in DtlsTransport.

Bug: webrtc:11943
Change-Id: Icb6cac30ba8a10528d75e87d9ccc3508d1cfb5a9
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/208940
Reviewed-by: Harald Alvestrand <hta@webrtc.org>
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#33412}
This commit is contained in:
Mirko Bonadei 2021-02-27 09:19:32 +01:00 committed by Commit Bot
parent 68ef4e5b00
commit 6a55e7307b

View File

@ -20,7 +20,6 @@
#include "p2p/base/dtls_transport_internal.h"
#include "pc/ice_transport.h"
#include "rtc_base/synchronization/mutex.h"
#include "rtc_base/third_party/sigslot/sigslot.h"
#include "rtc_base/thread.h"
#include "rtc_base/thread_annotations.h"
@ -30,8 +29,7 @@ class IceTransportWithPointer;
// This implementation wraps a cricket::DtlsTransport, and takes
// ownership of it.
class DtlsTransport : public DtlsTransportInterface,
public sigslot::has_slots<> {
class DtlsTransport : public DtlsTransportInterface {
public:
// This object must be constructed and updated on a consistent thread,
// the same thread as the one the cricket::DtlsTransportInternal object