Metatuple must ignore CStatusMessage::m_handledByObjects, as it doesn't know about the mutex.

This commit is contained in:
Mathew Sutcliffe
2016-03-21 00:25:14 +00:00
parent bb1d9edfe9
commit bb7cf80a20

View File

@@ -334,8 +334,7 @@ BLACK_DECLARE_TUPLE_CONVERSION(BlackMisc::CStatusMessage, (
o.m_severity,
o.m_message,
o.m_args,
o.m_timestampMSecsSinceEpoch,
attr(o.m_handledByObjects, flags < DisabledForHashing | DisabledForJson | DisabledForComparison | DisabledForMarshalling > ())
o.m_timestampMSecsSinceEpoch
))
Q_DECLARE_METATYPE(BlackMisc::CStatusMessage)
Q_DECLARE_METATYPE(BlackMisc::CStatusMessage::StatusSeverity)