summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
authorTed Ross <tross@apache.org>2011-01-10 18:30:39 +0000
committerTed Ross <tross@apache.org>2011-01-10 18:30:39 +0000
commitffd557df5ea888b2a0ffb8719cf7732986ccc321 (patch)
tree71bdfa947492575f0ecebe75e1e62afe3dded9eb /cpp
parentd7a28eae0423222a168fa48892c3223dea76fa26 (diff)
downloadqpid-python-ffd557df5ea888b2a0ffb8719cf7732986ccc321.tar.gz
Fixed a bug in the type-compatibility checker.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1057302 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp')
-rw-r--r--cpp/src/qmf/Schema.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qmf/Schema.cpp b/cpp/src/qmf/Schema.cpp
index f25eb4635b..872aad724c 100644
--- a/cpp/src/qmf/Schema.cpp
+++ b/cpp/src/qmf/Schema.cpp
@@ -329,7 +329,7 @@ bool SchemaImpl::isCompatibleType(int qmfType, qpid::types::VariantType qpidType
typeValid = true;
break;
case qpid::types::VAR_MAP:
- if (qmfType == SCHEMA_DATA_BOOL)
+ if (qmfType == SCHEMA_DATA_MAP)
typeValid = true;
break;
case qpid::types::VAR_LIST: