You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by ro...@apache.org on 2012/01/17 20:18:14 UTC

svn commit: r1232544 - /thrift/trunk/lib/cpp/src/server/TServer.h

Author: roger
Date: Tue Jan 17 19:18:13 2012
New Revision: 1232544

URL: http://svn.apache.org/viewvc?rev=1232544&view=rev
Log:
THRIFT-1491 Uninitialize processorFactory_ member in TServer.h
Patch: Ben Frederickson

Modified:
    thrift/trunk/lib/cpp/src/server/TServer.h

Modified: thrift/trunk/lib/cpp/src/server/TServer.h
URL: http://svn.apache.org/viewvc/thrift/trunk/lib/cpp/src/server/TServer.h?rev=1232544&r1=1232543&r2=1232544&view=diff
==============================================================================
--- thrift/trunk/lib/cpp/src/server/TServer.h (original)
+++ thrift/trunk/lib/cpp/src/server/TServer.h Tue Jan 17 19:18:13 2012
@@ -144,7 +144,7 @@ protected:
   template<typename ProcessorFactory>
   TServer(const boost::shared_ptr<TProcessorFactory>& processorFactory,
           THRIFT_OVERLOAD_IF(ProcessorFactory, TProcessorFactory)):
-    processorFactory_(processorFactory_) {
+    processorFactory_(processorFactory) {
     setInputTransportFactory(boost::shared_ptr<TTransportFactory>(
           new TTransportFactory()));
     setOutputTransportFactory(boost::shared_ptr<TTransportFactory>(
@@ -227,7 +227,7 @@ protected:
           const boost::shared_ptr<TProtocolFactory>& inputProtocolFactory,
           const boost::shared_ptr<TProtocolFactory>& outputProtocolFactory,
           THRIFT_OVERLOAD_IF(ProcessorFactory, TProcessorFactory)):
-    processorFactory_(processorFactory_),
+    processorFactory_(processorFactory),
     serverTransport_(serverTransport),
     inputTransportFactory_(inputTransportFactory),
     outputTransportFactory_(outputTransportFactory),