THRIFT-244. cpp: Make TJSONProtocolFactor inherit from TProtocolFactory
authorDavid Reiss <dreiss@apache.org>
Thu, 15 Jan 2009 23:56:24 +0000 (23:56 +0000)
committerDavid Reiss <dreiss@apache.org>
Thu, 15 Jan 2009 23:56:24 +0000 (23:56 +0000)
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@734863 13f79535-47bb-0310-9956-ffa450edef68

lib/cpp/src/protocol/TJSONProtocol.h

index cece97e..cbf4ef8 100644 (file)
@@ -288,7 +288,7 @@ class TJSONProtocol : public TProtocol {
 /**
  * Constructs input and output protocol objects given transports.
  */
-class TJSONProtocolFactory {
+class TJSONProtocolFactory : public TProtocolFactory {
  public:
   TJSONProtocolFactory() {}