Fix missing return when comparing map types

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit fae501da67)
r14.0.x
Slávek Banko 9 years ago
parent 9c56b247e9
commit 25c8746ac8

@ -235,43 +235,34 @@ bool TQT_DBusData::operator==(const TQT_DBusData& other) const
switch (d->keyType)
{
case TQT_DBusData::Byte:
toByteKeyMap() == other.toByteKeyMap();
break;
return toByteKeyMap() == other.toByteKeyMap();
case TQT_DBusData::Int16:
toInt16KeyMap() == other.toInt16KeyMap();
break;
return toInt16KeyMap() == other.toInt16KeyMap();
case TQT_DBusData::UInt16:
toUInt16KeyMap() == other.toUInt16KeyMap();
break;
return toUInt16KeyMap() == other.toUInt16KeyMap();
case TQT_DBusData::Int32:
toInt32KeyMap() == other.toInt32KeyMap();
break;
return toInt32KeyMap() == other.toInt32KeyMap();
case TQT_DBusData::UInt32:
toUInt32KeyMap() == other.toUInt32KeyMap();
break;
return toUInt32KeyMap() == other.toUInt32KeyMap();
case TQT_DBusData::Int64:
toInt64KeyMap() == other.toInt64KeyMap();
break;
return toInt64KeyMap() == other.toInt64KeyMap();
case TQT_DBusData::UInt64:
toUInt64KeyMap() == other.toUInt64KeyMap();
break;
return toUInt64KeyMap() == other.toUInt64KeyMap();
case TQT_DBusData::String:
toStringKeyMap() == other.toStringKeyMap();
break;
return toStringKeyMap() == other.toStringKeyMap();
case TQT_DBusData::ObjectPath:
toObjectPathKeyMap() == other.toObjectPathKeyMap();
break;
return toObjectPathKeyMap() == other.toObjectPathKeyMap();
case TQT_DBusData::UnixFd:
toUnixFdKeyMap() == other.toUnixFdKeyMap();
break;
return toUnixFdKeyMap() == other.toUnixFdKeyMap();
default:
tqFatal("TQT_DBusData operator== unhandled map key type %d(%s)",

Loading…
Cancel
Save