Fix all -Wnon-virtual-dtor warnings.

This is needed to get the GN build going for several parts
of the code tree.

BUG=webrtc:3307
NOTRY=True
R=henrika@webrtc.org, nisse@webrtc.org

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

Cr-Commit-Position: refs/heads/master@{#12693}
This commit is contained in:
Henrik Kjellander
2016-05-12 08:10:52 +02:00
parent ad6fc5a05c
commit 3fe372dbee
15 changed files with 13 additions and 56 deletions

View File

@ -416,7 +416,7 @@ class MockTrackObserver : public ObserverInterface {
class MockPeerConnectionObserver : public PeerConnectionObserver {
public:
MockPeerConnectionObserver() : remote_streams_(StreamCollection::Create()) {}
~MockPeerConnectionObserver() {
virtual ~MockPeerConnectionObserver() {
}
void SetPeerConnectionInterface(PeerConnectionInterface* pc) {
pc_ = pc;