summaryrefslogtreecommitdiff
path: root/cpp/examples/messaging/map_sender.cpp
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2010-01-15 15:17:01 +0000
committerGordon Sim <gsim@apache.org>2010-01-15 15:17:01 +0000
commit8e1f647a10024492e09a689e61128eb5f42c561e (patch)
tree139169bc5eab35ab62d9c30f8009f4565603a50a /cpp/examples/messaging/map_sender.cpp
parent8455ba0b116208f47ce238b384d4af274fa0edb6 (diff)
downloadqpid-python-8e1f647a10024492e09a689e61128eb5f42c561e.tar.gz
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
Diffstat (limited to 'cpp/examples/messaging/map_sender.cpp')
-rw-r--r--cpp/examples/messaging/map_sender.cpp1
1 files changed, 1 insertions, 0 deletions
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);