diff options
author | Roger Meier <roger@apache.org> | 2014-02-19 16:28:35 +0100 |
---|---|---|
committer | Roger Meier <roger@apache.org> | 2014-02-19 16:28:35 +0100 |
commit | 9f4f5157a3f3a6e67be039528c4e0dbe6e716a41 (patch) | |
tree | dbfb10da4ed09869077464fb78d5d110f5048db6 /tutorial/cpp | |
parent | 8c1779d6712f102f2844621508e9f445540be7d2 (diff) | |
download | thrift-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.cpp | 2 | ||||
-rw-r--r-- | tutorial/cpp/CppServer.cpp | 2 |
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() {} |