summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
authorAndrew Stitcher <astitcher@apache.org>2010-04-09 22:41:07 +0000
committerAndrew Stitcher <astitcher@apache.org>2010-04-09 22:41:07 +0000
commitefb01def0c8af535e34db922ee90ae18541ceae4 (patch)
tree0f4e2043e8d2733b79f2ea1efa4c9cb028c2831a /cpp/src
parent8053a209d6946a453e1cebc62a09e06f3bcb8387 (diff)
downloadqpid-python-efb01def0c8af535e34db922ee90ae18541ceae4.tar.gz
Small fixes to get recent management changes to compile under Visual Studio/Windows
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@932641 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/qpid/management/Buffer.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/cpp/src/qpid/management/Buffer.cpp b/cpp/src/qpid/management/Buffer.cpp
index 17facd37bb..cab9c4aa85 100644
--- a/cpp/src/qpid/management/Buffer.cpp
+++ b/cpp/src/qpid/management/Buffer.cpp
@@ -23,7 +23,9 @@
#include "qpid/amqp_0_10/Codecs.h"
using namespace std;
-using namespace qpid::management;
+
+namespace qpid {
+namespace management {
Buffer::Buffer(char* data, uint32_t size) : impl(new framing::Buffer(data, size)) {}
Buffer::~Buffer() { delete impl; }
@@ -101,3 +103,4 @@ void Buffer::getList(types::Variant::List& list)
amqp_0_10::ListCodec::decode(encoded, list);
}
+}} \ No newline at end of file