THRIFT-2014 Change C++ lib includes to use <namespace/> style throughout
Patch: Randy Abernethy
diff --git a/lib/cpp/src/thrift/transport/TBufferTransports.h b/lib/cpp/src/thrift/transport/TBufferTransports.h
index c135229..cd6ecea 100644
--- a/lib/cpp/src/thrift/transport/TBufferTransports.h
+++ b/lib/cpp/src/thrift/transport/TBufferTransports.h
@@ -21,7 +21,7 @@
#define _THRIFT_TRANSPORT_TBUFFERTRANSPORTS_H_ 1
#include <cstring>
-#include "boost/scoped_array.hpp"
+#include <boost/scoped_array.hpp>
#include <thrift/transport/TTransport.h>
#include <thrift/transport/TVirtualTransport.h>
diff --git a/lib/cpp/src/thrift/transport/TFDTransport.h b/lib/cpp/src/thrift/transport/TFDTransport.h
index 3ebad5c..cc4f9c1 100644
--- a/lib/cpp/src/thrift/transport/TFDTransport.h
+++ b/lib/cpp/src/thrift/transport/TFDTransport.h
@@ -25,8 +25,8 @@
#include <sys/time.h>
#endif
-#include "TTransport.h"
-#include "TVirtualTransport.h"
+#include <thrift/transport/TTransport.h>
+#include <thrift/transport/TVirtualTransport.h>
namespace apache { namespace thrift { namespace transport {
diff --git a/lib/cpp/src/thrift/transport/TFileTransport.cpp b/lib/cpp/src/thrift/transport/TFileTransport.cpp
index 137e47d..258a18c 100644
--- a/lib/cpp/src/thrift/transport/TFileTransport.cpp
+++ b/lib/cpp/src/thrift/transport/TFileTransport.cpp
@@ -21,9 +21,9 @@
#include "config.h"
#endif
-#include "TFileTransport.h"
-#include "TTransportUtils.h"
-#include "PlatformSocket.h"
+#include <thrift/transport/TFileTransport.h>
+#include <thrift/transport/TTransportUtils.h>
+#include <thrift/transport/PlatformSocket.h>
#include <thrift/concurrency/FunctionRunner.h>
#ifdef HAVE_SYS_TIME_H
diff --git a/lib/cpp/src/thrift/transport/THttpTransport.h b/lib/cpp/src/thrift/transport/THttpTransport.h
index 9997c93..a2e8834 100644
--- a/lib/cpp/src/thrift/transport/THttpTransport.h
+++ b/lib/cpp/src/thrift/transport/THttpTransport.h
@@ -21,7 +21,7 @@
#define _THRIFT_TRANSPORT_THTTPTRANSPORT_H_ 1
#include <thrift/transport/TBufferTransports.h>
-#include "TVirtualTransport.h"
+#include <thrift/transport/TVirtualTransport.h>
namespace apache { namespace thrift { namespace transport {
diff --git a/lib/cpp/src/thrift/transport/TPipe.cpp b/lib/cpp/src/thrift/transport/TPipe.cpp
index 0b5080b..92e2912 100644
--- a/lib/cpp/src/thrift/transport/TPipe.cpp
+++ b/lib/cpp/src/thrift/transport/TPipe.cpp
@@ -17,8 +17,8 @@
* under the License.
*/
-#include "TTransportException.h"
-#include "TPipe.h"
+#include <thrift/transport/TTransportException.h>
+#include <thrift/transport/TPipe.h>
namespace apache { namespace thrift { namespace transport {
diff --git a/lib/cpp/src/thrift/transport/TPipe.h b/lib/cpp/src/thrift/transport/TPipe.h
index 7742644..3c1755b 100644
--- a/lib/cpp/src/thrift/transport/TPipe.h
+++ b/lib/cpp/src/thrift/transport/TPipe.h
@@ -23,7 +23,7 @@
#include <thrift/transport/TTransport.h>
#include <thrift/transport/TVirtualTransport.h>
#ifndef _WIN32
-# include "TSocket.h"
+# include <thrift/transport/TSocket.h>
#endif
namespace apache { namespace thrift { namespace transport {
diff --git a/lib/cpp/src/thrift/transport/TPipeServer.cpp b/lib/cpp/src/thrift/transport/TPipeServer.cpp
index b11d22f..9c3b51b 100644
--- a/lib/cpp/src/thrift/transport/TPipeServer.cpp
+++ b/lib/cpp/src/thrift/transport/TPipeServer.cpp
@@ -22,8 +22,8 @@
#endif
#include <cstring>
-#include "TPipe.h"
-#include "TPipeServer.h"
+#include <thrift/transport/TPipe.h>
+#include <thrift/transport/TPipeServer.h>
#include <boost/shared_ptr.hpp>
#ifdef _WIN32
# include <AccCtrl.h>
diff --git a/lib/cpp/src/thrift/transport/TPipeServer.h b/lib/cpp/src/thrift/transport/TPipeServer.h
index 4c211a0..88a8b6b 100755
--- a/lib/cpp/src/thrift/transport/TPipeServer.h
+++ b/lib/cpp/src/thrift/transport/TPipeServer.h
@@ -20,7 +20,7 @@
#ifndef _THRIFT_TRANSPORT_TSERVERWINPIPES_H_
#define _THRIFT_TRANSPORT_TSERVERWINPIPES_H_ 1
-#include "TServerTransport.h"
+#include <thrift/transport/TServerTransport.h>
#include <boost/shared_ptr.hpp>
#ifndef _WIN32
# include "TServerSocket.h"
diff --git a/lib/cpp/src/thrift/transport/TSSLServerSocket.cpp b/lib/cpp/src/thrift/transport/TSSLServerSocket.cpp
index 8e06f30..4689e4a 100644
--- a/lib/cpp/src/thrift/transport/TSSLServerSocket.cpp
+++ b/lib/cpp/src/thrift/transport/TSSLServerSocket.cpp
@@ -17,8 +17,8 @@
* under the License.
*/
-#include "TSSLServerSocket.h"
-#include "TSSLSocket.h"
+#include <thrift/transport/TSSLServerSocket.h>
+#include <thrift/transport/TSSLSocket.h>
namespace apache { namespace thrift { namespace transport {
diff --git a/lib/cpp/src/thrift/transport/TSSLServerSocket.h b/lib/cpp/src/thrift/transport/TSSLServerSocket.h
index a4e659d..6d8e657 100644
--- a/lib/cpp/src/thrift/transport/TSSLServerSocket.h
+++ b/lib/cpp/src/thrift/transport/TSSLServerSocket.h
@@ -21,7 +21,7 @@
#define _THRIFT_TRANSPORT_TSSLSERVERSOCKET_H_ 1
#include <boost/shared_ptr.hpp>
-#include "TServerSocket.h"
+#include <thrift/transport/TServerSocket.h>
namespace apache { namespace thrift { namespace transport {
diff --git a/lib/cpp/src/thrift/transport/TSSLSocket.cpp b/lib/cpp/src/thrift/transport/TSSLSocket.cpp
index bf29c41..1af8aa7 100644
--- a/lib/cpp/src/thrift/transport/TSSLSocket.cpp
+++ b/lib/cpp/src/thrift/transport/TSSLSocket.cpp
@@ -36,8 +36,8 @@
#include <openssl/ssl.h>
#include <openssl/x509v3.h>
#include <thrift/concurrency/Mutex.h>
-#include "TSSLSocket.h"
-#include "PlatformSocket.h"
+#include <thrift/transport/TSSLSocket.h>
+#include <thrift/transport/PlatformSocket.h>
#define OPENSSL_VERSION_NO_THREAD_ID 0x10000000L
diff --git a/lib/cpp/src/thrift/transport/TSSLSocket.h b/lib/cpp/src/thrift/transport/TSSLSocket.h
index d77c2f5..82a2e91 100644
--- a/lib/cpp/src/thrift/transport/TSSLSocket.h
+++ b/lib/cpp/src/thrift/transport/TSSLSocket.h
@@ -24,7 +24,7 @@
#include <boost/shared_ptr.hpp>
#include <openssl/ssl.h>
#include <thrift/concurrency/Mutex.h>
-#include "TSocket.h"
+#include <thrift/transport/TSocket.h>
namespace apache { namespace thrift { namespace transport {
diff --git a/lib/cpp/src/thrift/transport/TServerSocket.cpp b/lib/cpp/src/thrift/transport/TServerSocket.cpp
index cb3833e..4cb0fd1 100644
--- a/lib/cpp/src/thrift/transport/TServerSocket.cpp
+++ b/lib/cpp/src/thrift/transport/TServerSocket.cpp
@@ -43,9 +43,9 @@
#include <unistd.h>
#endif
-#include "TSocket.h"
-#include "TServerSocket.h"
-#include "PlatformSocket.h"
+#include <thrift/transport/TSocket.h>
+#include <thrift/transport/TServerSocket.h>
+#include <thrift/transport/PlatformSocket.h>
#include <boost/shared_ptr.hpp>
#ifndef AF_LOCAL
diff --git a/lib/cpp/src/thrift/transport/TServerSocket.h b/lib/cpp/src/thrift/transport/TServerSocket.h
index 17a00b6..4a8c029 100644
--- a/lib/cpp/src/thrift/transport/TServerSocket.h
+++ b/lib/cpp/src/thrift/transport/TServerSocket.h
@@ -20,8 +20,8 @@
#ifndef _THRIFT_TRANSPORT_TSERVERSOCKET_H_
#define _THRIFT_TRANSPORT_TSERVERSOCKET_H_ 1
-#include "TServerTransport.h"
-#include "PlatformSocket.h"
+#include <thrift/transport/TServerTransport.h>
+#include <thrift/transport/PlatformSocket.h>
#include <boost/shared_ptr.hpp>
namespace apache { namespace thrift { namespace transport {
diff --git a/lib/cpp/src/thrift/transport/TServerTransport.h b/lib/cpp/src/thrift/transport/TServerTransport.h
index 40bbc6c..d54aa62 100644
--- a/lib/cpp/src/thrift/transport/TServerTransport.h
+++ b/lib/cpp/src/thrift/transport/TServerTransport.h
@@ -20,8 +20,8 @@
#ifndef _THRIFT_TRANSPORT_TSERVERTRANSPORT_H_
#define _THRIFT_TRANSPORT_TSERVERTRANSPORT_H_ 1
-#include "TTransport.h"
-#include "TTransportException.h"
+#include <thrift/transport/TTransport.h>
+#include <thrift/transport/TTransportException.h>
#include <boost/shared_ptr.hpp>
namespace apache { namespace thrift { namespace transport {
diff --git a/lib/cpp/src/thrift/transport/TSimpleFileTransport.cpp b/lib/cpp/src/thrift/transport/TSimpleFileTransport.cpp
index b52e4d5..5bf571d 100644
--- a/lib/cpp/src/thrift/transport/TSimpleFileTransport.cpp
+++ b/lib/cpp/src/thrift/transport/TSimpleFileTransport.cpp
@@ -20,7 +20,7 @@
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
-#include "TSimpleFileTransport.h"
+#include <thrift/transport/TSimpleFileTransport.h>
#include <sys/types.h>
#ifdef HAVE_SYS_STAT_H
diff --git a/lib/cpp/src/thrift/transport/TSimpleFileTransport.h b/lib/cpp/src/thrift/transport/TSimpleFileTransport.h
index 6cc52ea..985a1d3 100644
--- a/lib/cpp/src/thrift/transport/TSimpleFileTransport.h
+++ b/lib/cpp/src/thrift/transport/TSimpleFileTransport.h
@@ -20,7 +20,7 @@
#ifndef _THRIFT_TRANSPORT_TSIMPLEFILETRANSPORT_H_
#define _THRIFT_TRANSPORT_TSIMPLEFILETRANSPORT_H_ 1
-#include "TFDTransport.h"
+#include <thrift/transport/TFDTransport.h>
namespace apache { namespace thrift { namespace transport {
diff --git a/lib/cpp/src/thrift/transport/TSocket.cpp b/lib/cpp/src/thrift/transport/TSocket.cpp
index ba0b1e3..1cffa70 100644
--- a/lib/cpp/src/thrift/transport/TSocket.cpp
+++ b/lib/cpp/src/thrift/transport/TSocket.cpp
@@ -42,9 +42,9 @@
#include <fcntl.h>
#include <thrift/concurrency/Monitor.h>
-#include "TSocket.h"
-#include "TTransportException.h"
-#include "PlatformSocket.h"
+#include <thrift/transport/TSocket.h>
+#include <thrift/transport/TTransportException.h>
+#include <thrift/transport/PlatformSocket.h>
#ifndef SOCKOPT_CAST_T
# ifndef _WIN32
diff --git a/lib/cpp/src/thrift/transport/TSocket.h b/lib/cpp/src/thrift/transport/TSocket.h
index 60b5b51..fd5b961 100644
--- a/lib/cpp/src/thrift/transport/TSocket.h
+++ b/lib/cpp/src/thrift/transport/TSocket.h
@@ -22,10 +22,10 @@
#include <string>
-#include "TTransport.h"
-#include "TVirtualTransport.h"
-#include "TServerSocket.h"
-#include "PlatformSocket.h"
+#include <thrift/transport/TTransport.h>
+#include <thrift/transport/TVirtualTransport.h>
+#include <thrift/transport/TServerSocket.h>
+#include <thrift/transport/PlatformSocket.h>
#ifdef HAVE_ARPA_INET_H
#include <arpa/inet.h>
diff --git a/lib/cpp/src/thrift/transport/TSocketPool.cpp b/lib/cpp/src/thrift/transport/TSocketPool.cpp
index 6bca4db..fdc5493 100644
--- a/lib/cpp/src/thrift/transport/TSocketPool.cpp
+++ b/lib/cpp/src/thrift/transport/TSocketPool.cpp
@@ -24,7 +24,7 @@
#include <algorithm>
#include <iostream>
-#include "TSocketPool.h"
+#include <thrift/transport/TSocketPool.h>
namespace apache { namespace thrift { namespace transport {
diff --git a/lib/cpp/src/thrift/transport/TSocketPool.h b/lib/cpp/src/thrift/transport/TSocketPool.h
index f8c5ddc..7728257 100644
--- a/lib/cpp/src/thrift/transport/TSocketPool.h
+++ b/lib/cpp/src/thrift/transport/TSocketPool.h
@@ -21,7 +21,7 @@
#define _THRIFT_TRANSPORT_TSOCKETPOOL_H_ 1
#include <vector>
-#include "TSocket.h"
+#include <thrift/transport/TSocket.h>
namespace apache { namespace thrift { namespace transport {