summaryrefslogtreecommitdiff
path: root/cpp/src/qpid
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/qpid')
-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