summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
authorAndrew Stitcher <astitcher@apache.org>2013-02-26 17:21:31 +0000
committerAndrew Stitcher <astitcher@apache.org>2013-02-26 17:21:31 +0000
commitf124396a5939fd5ebf999ee3394728378ae008a3 (patch)
treefd994daeb613ead2ef149b5386cb5c394a4f3bed /cpp
parent4dff8d8a0cf6a34529a80610c4a8b6e73eefd2dc (diff)
downloadqpid-python-f124396a5939fd5ebf999ee3394728378ae008a3.tar.gz
QPID-4603: Teach qpid-send to send bool/int/float properties as well as strings
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1450289 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp')
-rw-r--r--cpp/src/tests/qpid-send.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/tests/qpid-send.cpp b/cpp/src/tests/qpid-send.cpp
index b1c4f2be38..c3bba31e3b 100644
--- a/cpp/src/tests/qpid-send.cpp
+++ b/cpp/src/tests/qpid-send.cpp
@@ -200,7 +200,7 @@ struct Options : public qpid::Options
std::string name;
std::string value;
if (nameval(property, name, value)) {
- message.getProperties()[name] = value;
+ message.getProperties()[name].parse(value);
} else {
message.getProperties()[name] = Variant();
}