mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-17 10:55:32 +08:00
Fixed #326 wrong and unnecessary Q_DECLARE_METATYPE caused duplicate definitions of class template explicit specialization
This commit is contained in:
@@ -148,9 +148,7 @@ typedef BlackMisc::CDictionary<BlackMisc::CTestValueObject, BlackMisc::CTestValu
|
|||||||
typedef BlackMisc::CDictionary<BlackMisc::CNotHashable, QString> CNotHashableDictionary;
|
typedef BlackMisc::CDictionary<BlackMisc::CNotHashable, QString> CNotHashableDictionary;
|
||||||
typedef BlackMisc::CDictionary<BlackMisc::CNotHashable, QString, QMap> CNotHashableMapDictionary;
|
typedef BlackMisc::CDictionary<BlackMisc::CNotHashable, QString, QMap> CNotHashableMapDictionary;
|
||||||
Q_DECLARE_METATYPE(CValueObjectDictionary)
|
Q_DECLARE_METATYPE(CValueObjectDictionary)
|
||||||
Q_DECLARE_METATYPE(CValueObjectHashDictionary)
|
|
||||||
Q_DECLARE_METATYPE(CNotHashableDictionary)
|
Q_DECLARE_METATYPE(CNotHashableDictionary)
|
||||||
Q_DECLARE_METATYPE(CNotHashableMapDictionary)
|
|
||||||
|
|
||||||
// MSVC has trouble with these checks
|
// MSVC has trouble with these checks
|
||||||
#if !defined(Q_CC_MSVC)
|
#if !defined(Q_CC_MSVC)
|
||||||
|
|||||||
Reference in New Issue
Block a user