Explorar o código

Add virtual destructor to MediaHandler

Paul-Louis Ageneau hai 1 ano
pai
achega
0b08346b60
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      include/rtc/mediahandler.hpp

+ 2 - 0
include/rtc/mediahandler.hpp

@@ -21,6 +21,8 @@ protected:
 	synchronized_callback<message_ptr> outgoingCallback;
 
 public:
+	virtual ~MediaHandler() = default;
+
 	// Called when there is traffic coming from the peer
 	virtual message_ptr incoming(message_ptr ptr) = 0;