summaryrefslogtreecommitdiff
path: root/tutorial/cpp
diff options
context:
space:
mode:
authorRoger Meier <roger@apache.org>2014-02-19 16:28:35 +0100
committerRoger Meier <roger@apache.org>2014-02-19 16:28:35 +0100
commit9f4f5157a3f3a6e67be039528c4e0dbe6e716a41 (patch)
treedbfb10da4ed09869077464fb78d5d110f5048db6 /tutorial/cpp
parent8c1779d6712f102f2844621508e9f445540be7d2 (diff)
downloadthrift-9f4f5157a3f3a6e67be039528c4e0dbe6e716a41.tar.gz
THRIFT-2367 Build failure: stdlib and boost both define uint64_t
Fix: remove "using namespace boost;" Patch: Roger Meier
Diffstat (limited to 'tutorial/cpp')
-rw-r--r--tutorial/cpp/CppClient.cpp2
-rw-r--r--tutorial/cpp/CppServer.cpp2
2 files changed, 0 insertions, 4 deletions
diff --git a/tutorial/cpp/CppClient.cpp b/tutorial/cpp/CppClient.cpp
index b91df2e41..4218019b5 100644
--- a/tutorial/cpp/CppClient.cpp
+++ b/tutorial/cpp/CppClient.cpp
@@ -35,8 +35,6 @@ using namespace apache::thrift::transport;
using namespace tutorial;
using namespace shared;
-using namespace boost;
-
int main(int argc, char** argv) {
boost::shared_ptr<TTransport> socket(new TSocket("localhost", 9090));
boost::shared_ptr<TTransport> transport(new TBufferedTransport(socket));
diff --git a/tutorial/cpp/CppServer.cpp b/tutorial/cpp/CppServer.cpp
index f19258c85..d75b5532f 100644
--- a/tutorial/cpp/CppServer.cpp
+++ b/tutorial/cpp/CppServer.cpp
@@ -41,8 +41,6 @@ using namespace apache::thrift::server;
using namespace tutorial;
using namespace shared;
-using namespace boost;
-
class CalculatorHandler : public CalculatorIf {
public:
CalculatorHandler() {}