From 8e1f647a10024492e09a689e61128eb5f42c561e Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Fri, 15 Jan 2010 15:17:01 +0000 Subject: QPID-2323: add a Uuid type and allow it as the value of a Variant. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@899657 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/examples/messaging/map_sender.cpp | 1 + cpp/examples/messaging/spout.cpp | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'cpp/examples/messaging') diff --git a/cpp/examples/messaging/map_sender.cpp b/cpp/examples/messaging/map_sender.cpp index 02c6433836..50150fa3d5 100644 --- a/cpp/examples/messaging/map_sender.cpp +++ b/cpp/examples/messaging/map_sender.cpp @@ -53,6 +53,7 @@ int main(int argc, char** argv) { colours.push_back(Variant("green")); colours.push_back(Variant("white")); content["colours"] = colours; + content["uuid"] = Uuid(true); content.encode(); sender.send(message); diff --git a/cpp/examples/messaging/spout.cpp b/cpp/examples/messaging/spout.cpp index 661397d232..62d72a8043 100644 --- a/cpp/examples/messaging/spout.cpp +++ b/cpp/examples/messaging/spout.cpp @@ -26,7 +26,6 @@ #include #include #include -#include #include #include #include @@ -39,7 +38,6 @@ #include using namespace qpid::messaging; -using qpid::framing::Uuid; using qpid::sys::AbsTime; using qpid::sys::now; using qpid::sys::TIME_INFINITE; -- cgit v1.2.1