Delete unused sigslot variables.
Bug: webrtc:11943 Change-Id: I55b9360de5188b1519aed184144f66d69763828c Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/208240 Reviewed-by: Harald Alvestrand <hta@webrtc.org> Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Commit-Queue: Lahiru Ginnaliya Gamathige <glahiru@webrtc.org> Cr-Commit-Position: refs/heads/master@{#33328}
This commit is contained in:
parent
c32f00ea9d
commit
77475ecfd5
@ -816,7 +816,6 @@ void DtlsTransport::set_dtls_state(DtlsTransportState state) {
|
|||||||
RTC_LOG(LS_VERBOSE) << ToString() << ": set_dtls_state from:" << dtls_state_
|
RTC_LOG(LS_VERBOSE) << ToString() << ": set_dtls_state from:" << dtls_state_
|
||||||
<< " to " << state;
|
<< " to " << state;
|
||||||
dtls_state_ = state;
|
dtls_state_ = state;
|
||||||
SignalDtlsState(this, state);
|
|
||||||
SendDtlsState(this, state);
|
SendDtlsState(this, state);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -114,7 +114,6 @@ class DtlsTransportInternal : public rtc::PacketTransportInternal {
|
|||||||
// Expose the underneath IceTransport.
|
// Expose the underneath IceTransport.
|
||||||
virtual IceTransportInternal* ice_transport() = 0;
|
virtual IceTransportInternal* ice_transport() = 0;
|
||||||
|
|
||||||
sigslot::signal2<DtlsTransportInternal*, DtlsTransportState> SignalDtlsState;
|
|
||||||
// F: void(DtlsTransportInternal*, const DtlsTransportState)
|
// F: void(DtlsTransportInternal*, const DtlsTransportState)
|
||||||
template <typename F>
|
template <typename F>
|
||||||
void SubscribeDtlsState(F&& callback) {
|
void SubscribeDtlsState(F&& callback) {
|
||||||
|
|||||||
@ -85,7 +85,6 @@ class FakeDtlsTransport : public DtlsTransportInternal {
|
|||||||
}
|
}
|
||||||
void SetDtlsState(DtlsTransportState state) {
|
void SetDtlsState(DtlsTransportState state) {
|
||||||
dtls_state_ = state;
|
dtls_state_ = state;
|
||||||
SignalDtlsState(this, dtls_state_);
|
|
||||||
SendDtlsState(this, dtls_state_);
|
SendDtlsState(this, dtls_state_);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user