summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/qpid/framing/BodyHandler.cpp
diff options
context:
space:
mode:
authorAndrew Stitcher <astitcher@apache.org>2012-03-15 19:40:08 +0000
committerAndrew Stitcher <astitcher@apache.org>2012-03-15 19:40:08 +0000
commit3cc606d75b9ad8168057069c44b52f8cf69e6b66 (patch)
tree58eb21dcd90061f177311515bee29fda274527bb /qpid/cpp/src/qpid/framing/BodyHandler.cpp
parent25a73e6d6d7f4ccdfe8aed8c9e7a90b948d071ec (diff)
downloadqpid-python-3cc606d75b9ad8168057069c44b52f8cf69e6b66.tar.gz
NO-JIRA: Remove some namespace polluting "using namespace boost" declarations
- Blanket "using namespace" declarations like these are BAD, they can change the symbols imported into your namespace and you have no control over this. - Needed to make QPID-3893 compile on windows git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1301168 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/qpid/framing/BodyHandler.cpp')
-rw-r--r--qpid/cpp/src/qpid/framing/BodyHandler.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/qpid/cpp/src/qpid/framing/BodyHandler.cpp b/qpid/cpp/src/qpid/framing/BodyHandler.cpp
index db302b1e4c..5ac9d84717 100644
--- a/qpid/cpp/src/qpid/framing/BodyHandler.cpp
+++ b/qpid/cpp/src/qpid/framing/BodyHandler.cpp
@@ -19,16 +19,18 @@
*
*/
#include "qpid/framing/BodyHandler.h"
+
#include "qpid/framing/AMQMethodBody.h"
#include "qpid/framing/AMQHeaderBody.h"
#include "qpid/framing/AMQContentBody.h"
#include "qpid/framing/AMQHeartbeatBody.h"
-#include <boost/cast.hpp>
#include "qpid/framing/reply_exceptions.h"
#include "qpid/Msg.h"
+#include <boost/cast.hpp>
+
using namespace qpid::framing;
-using namespace boost;
+using boost::polymorphic_downcast;
BodyHandler::~BodyHandler() {}