From: David Reiss Date: Thu, 15 Jan 2009 23:56:24 +0000 (+0000) Subject: THRIFT-244. cpp: Make TJSONProtocolFactor inherit from TProtocolFactory X-Git-Tag: 0.2.0~369 X-Git-Url: https://source.supwisdom.com/gerrit/gitweb?a=commitdiff_plain;h=4c266ccc2cd6598891dfd8955cf0dc8ff4b97976;p=common%2Fthrift.git THRIFT-244. cpp: Make TJSONProtocolFactor inherit from TProtocolFactory git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@734863 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/lib/cpp/src/protocol/TJSONProtocol.h b/lib/cpp/src/protocol/TJSONProtocol.h index cece97e4..cbf4ef8e 100644 --- a/lib/cpp/src/protocol/TJSONProtocol.h +++ b/lib/cpp/src/protocol/TJSONProtocol.h @@ -288,7 +288,7 @@ class TJSONProtocol : public TProtocol { /** * Constructs input and output protocol objects given transports. */ -class TJSONProtocolFactory { +class TJSONProtocolFactory : public TProtocolFactory { public: TJSONProtocolFactory() {}