From: David Reiss Date: Tue, 9 Mar 2010 05:20:26 +0000 (+0000) Subject: cpp: Make an implicit virtual declaration explicit X-Git-Tag: 0.3.0~69 X-Git-Url: https://source.supwisdom.com/gerrit/gitweb?a=commitdiff_plain;h=450c240592b35c9706832fc853e0345cf5800c0d;p=common%2Fthrift.git cpp: Make an implicit virtual declaration explicit This changes nothing since it's already declared virtual in the parent, but this is clearer. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@920690 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/lib/cpp/src/transport/TSocket.h b/lib/cpp/src/transport/TSocket.h index b9d1c012..70c167f9 100644 --- a/lib/cpp/src/transport/TSocket.h +++ b/lib/cpp/src/transport/TSocket.h @@ -86,7 +86,7 @@ class TSocket : public TTransport { /** * Shuts down communications on the socket. */ - void close(); + virtual void close(); /** * Reads from the underlying socket.