QPIDIT-119: Minor fix to C++ receiver shim, in which maps embedded in lists were being tested by the == operator, and this does not allow for a change in map order. Switched to using the checkMapEqual() method instead.
diff --git a/shims/qpid-proton-cpp/src/qpidit/amqp_complex_types_test/Receiver.cpp b/shims/qpid-proton-cpp/src/qpidit/amqp_complex_types_test/Receiver.cpp
index 605daa2..7d93e4e 100644
--- a/shims/qpid-proton-cpp/src/qpidit/amqp_complex_types_test/Receiver.cpp
+++ b/shims/qpid-proton-cpp/src/qpidit/amqp_complex_types_test/Receiver.cpp
@@ -90,7 +90,7 @@
 
             TestDataListCitr_t r, e;
             for (r = receivedList.cbegin(), e = expectedList.cbegin(); r != receivedList.cend() && e != expectedList.cend(); ++r, ++e) {
-                if (_amqpSubType.compare("map") == 0) {
+                if (e->type() == proton::MAP) {
                     checkMapEqual(*r, *e);
                 } else if (e->type() == proton::LIST) {
                     checkListEqual(*r, *e);