summaryrefslogtreecommitdiff
path: root/lib/cpp
diff options
context:
space:
mode:
authorSebastian Zenker <sebastian.zenker@gmx.de>2016-01-18 08:34:57 +0100
committerNobuaki Sukegawa <nsuke@apache.org>2016-01-19 02:48:07 +0900
commit643f1eeee41c975c77739ea6ad70e326b9065612 (patch)
treed18136708f6e2b789b23494660d54167e14b6f1b /lib/cpp
parent9be7569ab473962648a9baf184248896022ffc92 (diff)
downloadthrift-643f1eeee41c975c77739ea6ad70e326b9065612.tar.gz
THRIFT-3563: C++/Qt: removed usage of macro QT_PREPEND_NAMESPACE()
Client: C++ Patch: Sebastian Zenker This closes #801
Diffstat (limited to 'lib/cpp')
-rw-r--r--lib/cpp/src/thrift/qt/TQTcpServer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/cpp/src/thrift/qt/TQTcpServer.h b/lib/cpp/src/thrift/qt/TQTcpServer.h
index 8bbb3dfcf..ebe64324e 100644
--- a/lib/cpp/src/thrift/qt/TQTcpServer.h
+++ b/lib/cpp/src/thrift/qt/TQTcpServer.h
@@ -50,7 +50,7 @@ public:
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 @@ private:
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_;
};
}
}