From 39aa5e2f0acc1eb044cd732f641529bd8437a419 Mon Sep 17 00:00:00 2001 From: Mathew Sutcliffe Date: Fri, 12 Sep 2014 19:45:33 +0100 Subject: [PATCH] Fixed #326 wrong and unnecessary Q_DECLARE_METATYPE caused duplicate definitions of class template explicit specialization --- tests/blackmisc/testvalueobject.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/blackmisc/testvalueobject.h b/tests/blackmisc/testvalueobject.h index 3b07448ef..8b8431213 100644 --- a/tests/blackmisc/testvalueobject.h +++ b/tests/blackmisc/testvalueobject.h @@ -148,9 +148,7 @@ typedef BlackMisc::CDictionary CNotHashableDictionary; typedef BlackMisc::CDictionary 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)