THRIFT-1459 declare shared_ptr as boost::shared_ptr
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1213090 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/lib/cpp/test/TPipedTransportTest.cpp b/lib/cpp/test/TPipedTransportTest.cpp
index 5708fd2..e1e372c 100644
--- a/lib/cpp/test/TPipedTransportTest.cpp
+++ b/lib/cpp/test/TPipedTransportTest.cpp
@@ -23,15 +23,14 @@
#include <transport/TTransportUtils.h>
#include <transport/TBufferTransports.h>
using namespace std;
-using boost::shared_ptr;
using apache::thrift::transport::TTransportException;
using apache::thrift::transport::TPipedTransport;
using apache::thrift::transport::TMemoryBuffer;
int main() {
- shared_ptr<TMemoryBuffer> underlying(new TMemoryBuffer);
- shared_ptr<TMemoryBuffer> pipe(new TMemoryBuffer);
- shared_ptr<TPipedTransport> trans(new TPipedTransport(underlying, pipe));
+ boost::shared_ptr<TMemoryBuffer> underlying(new TMemoryBuffer);
+ boost::shared_ptr<TMemoryBuffer> pipe(new TMemoryBuffer);
+ boost::shared_ptr<TPipedTransport> trans(new TPipedTransport(underlying, pipe));
uint8_t buffer[4];