Fixed some issues with GCC.

This commit is contained in:
Andrew Okin
2013-02-21 12:10:10 -06:00
parent 96e4f73a94
commit e9ef332ec4
4 changed files with 14 additions and 12 deletions

View File

@ -26,7 +26,7 @@
class Instance;
class LIBMMCINST_EXPORT InstanceList : public QObject, public SigList<QSharedPointer<Instance>>
class LIBMMCINST_EXPORT InstanceList : public QObject, public SigList< QSharedPointer<Instance> >
{
Q_OBJECT
public:

View File

@ -100,7 +100,7 @@ InstTypeList InstanceLoader::typeList()
{
InstTypeList typeList;
for (auto iter = m_typeMap.begin(); iter != m_typeMap.end(); iter++)
for (QMap<QString, InstanceTypeInterface *>::iterator iter = m_typeMap.begin(); iter != m_typeMap.end(); iter++)
{
typeList.append(*iter);
}