diff options
author | Andrew Okin <forkk@forkk.net> | 2013-02-21 12:10:10 -0600 |
---|---|---|
committer | Andrew Okin <forkk@forkk.net> | 2013-02-21 12:10:10 -0600 |
commit | e9ef332ec409209626716da43ab8bb14651723b4 (patch) | |
tree | 9228faf3cab3f79f96422d60f2ad1b9535a767ab /libinstance | |
parent | 96e4f73a94e0697ce7200e09983d447220ea5a0b (diff) | |
download | MultiMC-e9ef332ec409209626716da43ab8bb14651723b4.tar MultiMC-e9ef332ec409209626716da43ab8bb14651723b4.tar.gz MultiMC-e9ef332ec409209626716da43ab8bb14651723b4.tar.lz MultiMC-e9ef332ec409209626716da43ab8bb14651723b4.tar.xz MultiMC-e9ef332ec409209626716da43ab8bb14651723b4.zip |
Fixed some issues with GCC.
Diffstat (limited to 'libinstance')
-rw-r--r-- | libinstance/include/instancelist.h | 2 | ||||
-rw-r--r-- | libinstance/src/instanceloader.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libinstance/include/instancelist.h b/libinstance/include/instancelist.h index f6be815c..d5b8c196 100644 --- a/libinstance/include/instancelist.h +++ b/libinstance/include/instancelist.h @@ -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: diff --git a/libinstance/src/instanceloader.cpp b/libinstance/src/instanceloader.cpp index 620562b6..9d98230f 100644 --- a/libinstance/src/instanceloader.cpp +++ b/libinstance/src/instanceloader.cpp @@ -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); } |