summaryrefslogtreecommitdiff
path: root/qpid/cpp/include
diff options
context:
space:
mode:
authorAndrew Stitcher <astitcher@apache.org>2012-05-16 22:28:22 +0000
committerAndrew Stitcher <astitcher@apache.org>2012-05-16 22:28:22 +0000
commit5c6e3d849a1918867af5b1fc3f41701383b8e464 (patch)
tree262064ad3ef062b92e98518189b7870ca8cfb6be /qpid/cpp/include
parentde1185d179229780e37b38dae97fb900bd29fc18 (diff)
downloadqpid-python-5c6e3d849a1918867af5b1fc3f41701383b8e464.tar.gz
QPID-4005: Eliminate "using" especially "using namespace" from header file
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1339403 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/include')
-rw-r--r--qpid/cpp/include/qpid/framing/ProtocolVersion.h2
-rw-r--r--qpid/cpp/include/qpid/framing/amqp_types.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/qpid/cpp/include/qpid/framing/ProtocolVersion.h b/qpid/cpp/include/qpid/framing/ProtocolVersion.h
index 30094c165d..26d628e41c 100644
--- a/qpid/cpp/include/qpid/framing/ProtocolVersion.h
+++ b/qpid/cpp/include/qpid/framing/ProtocolVersion.h
@@ -24,6 +24,8 @@
#include "qpid/framing/amqp_types.h"
#include "qpid/CommonImportExport.h"
+#include <string>
+
namespace qpid
{
namespace framing
diff --git a/qpid/cpp/include/qpid/framing/amqp_types.h b/qpid/cpp/include/qpid/framing/amqp_types.h
index d9088b7a12..2072a83904 100644
--- a/qpid/cpp/include/qpid/framing/amqp_types.h
+++ b/qpid/cpp/include/qpid/framing/amqp_types.h
@@ -27,12 +27,10 @@
*/
#include "qpid/sys/IntegerTypes.h"
-#include <string>
namespace qpid {
namespace framing {
-using std::string;
typedef uint8_t FrameType;
typedef uint16_t ChannelId;
typedef uint32_t BatchOffset;