Fixed #326 wrong and unnecessary Q_DECLARE_METATYPE caused duplicate definitions of class template explicit specialization

This commit is contained in:
Mathew Sutcliffe
2014-09-12 19:45:33 +01:00
parent 472cf525d7
commit 39aa5e2f0a

View File

@@ -148,9 +148,7 @@ typedef BlackMisc::CDictionary<BlackMisc::CTestValueObject, BlackMisc::CTestValu
typedef BlackMisc::CDictionary<BlackMisc::CNotHashable, QString> CNotHashableDictionary;
typedef BlackMisc::CDictionary<BlackMisc::CNotHashable, QString, QMap> CNotHashableMapDictionary;
Q_DECLARE_METATYPE(CValueObjectDictionary)
Q_DECLARE_METATYPE(CValueObjectHashDictionary)
Q_DECLARE_METATYPE(CNotHashableDictionary)
Q_DECLARE_METATYPE(CNotHashableMapDictionary)
// MSVC has trouble with these checks
#if !defined(Q_CC_MSVC)