THRIFT-3563: C++/Qt: removed usage of macro QT_PREPEND_NAMESPACE()
Client: C++
Patch: Sebastian Zenker
This closes #801
diff --git a/lib/cpp/src/thrift/qt/TQTcpServer.h b/lib/cpp/src/thrift/qt/TQTcpServer.h
index 8bbb3df..ebe6432 100644
--- a/lib/cpp/src/thrift/qt/TQTcpServer.h
+++ b/lib/cpp/src/thrift/qt/TQTcpServer.h
@@ -50,7 +50,7 @@
TQTcpServer(boost::shared_ptr<QTcpServer> server,
boost::shared_ptr<TAsyncProcessor> processor,
boost::shared_ptr<apache::thrift::protocol::TProtocolFactory> protocolFactory,
- QT_PREPEND_NAMESPACE(QObject)* parent = NULL);
+ QObject* parent = NULL);
virtual ~TQTcpServer();
private Q_SLOTS:
@@ -69,7 +69,7 @@
boost::shared_ptr<TAsyncProcessor> processor_;
boost::shared_ptr<apache::thrift::protocol::TProtocolFactory> pfact_;
- std::map<QT_PREPEND_NAMESPACE(QTcpSocket)*, boost::shared_ptr<ConnectionContext> > ctxMap_;
+ std::map<QTcpSocket*, boost::shared_ptr<ConnectionContext> > ctxMap_;
};
}
}