summaryrefslogtreecommitdiff
path: root/qpid/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
commite94bc23df7b9d7a1612c27d8d4f3e2739fd151c8 (patch)
tree5ad54cfd68de305fd3f133fa614f16400ef013af /qpid/cpp/src
parent6838485261187ec6597233c95130948589c2fcd5 (diff)
downloadqpid-python-e94bc23df7b9d7a1612c27d8d4f3e2739fd151c8.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@932641 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src')
-rw-r--r--qpid/cpp/src/qpid/management/Buffer.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/qpid/cpp/src/qpid/management/Buffer.cpp b/qpid/cpp/src/qpid/management/Buffer.cpp
index 17facd37bb..cab9c4aa85 100644
--- a/qpid/cpp/src/qpid/management/Buffer.cpp
+++ b/qpid/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