From 76589a9e66997ad7d12c5689240e7481bf7b67b2 Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Mon, 29 Mar 2010 16:00:24 +0000 Subject: QPID-664: move Variant and Uuid from messaging to types namespace git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@928814 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/client/amqp0_10/ConnectionImpl.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'cpp/src/qpid/client/amqp0_10/ConnectionImpl.cpp') diff --git a/cpp/src/qpid/client/amqp0_10/ConnectionImpl.cpp b/cpp/src/qpid/client/amqp0_10/ConnectionImpl.cpp index ce4e1ecc2a..ee044aaf2b 100644 --- a/cpp/src/qpid/client/amqp0_10/ConnectionImpl.cpp +++ b/cpp/src/qpid/client/amqp0_10/ConnectionImpl.cpp @@ -32,7 +32,8 @@ namespace qpid { namespace client { namespace amqp0_10 { -using qpid::messaging::Variant; +using qpid::types::Variant; +using qpid::types::VAR_LIST; using qpid::framing::Uuid; void convert(const Variant::List& from, std::vector& to) @@ -62,7 +63,7 @@ bool setIfFound< std::vector >(const Variant::Map& map, { Variant::Map::const_iterator i = map.find(key); if (i != map.end()) { - if (i->second.getType() == qpid::messaging::VAR_LIST) { + if (i->second.getType() == VAR_LIST) { convert(i->second.asList(), value); } else { value.push_back(i->second.asString()); -- cgit v1.2.1