From 3690ebe09a8c3cea0fd7d9ece8f5b8d8ebc65c19 Mon Sep 17 00:00:00 2001 From: "hans@chromium.org" Date: Wed, 25 May 2011 09:08:19 +0000 Subject: Virtual destructors should have virtual keyword. Make sure user-declared virtual destructors always have the virtual keyword. The Clang style-check plugin will check for this soon. No functionality change: virtual is only added to destructors that are already implicitly virtual. Also fix a couple of in-line destructor definitions. BUG=83408 TEST=none Review URL: http://codereview.chromium.org/7064033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86587 0039d316-1c4b-4281-b951-d872f2087c98 --- remoting/protocol/rtp_reader.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'remoting/protocol/rtp_reader.h') diff --git a/remoting/protocol/rtp_reader.h b/remoting/protocol/rtp_reader.h index c2097b9..d932d48 100644 --- a/remoting/protocol/rtp_reader.h +++ b/remoting/protocol/rtp_reader.h @@ -48,7 +48,7 @@ class RtpPacket { class RtpReader : public SocketReaderBase { public: RtpReader(); - ~RtpReader(); + virtual ~RtpReader(); // The OnMessageCallback is called whenever a new message is received. // Ownership of the message is passed the callback. -- cgit v1.1