From 2020d9c24bf0c2d024a3f42f38d7e106ab8a49eb Mon Sep 17 00:00:00 2001 From: Andrew Date: Thu, 21 Feb 2013 12:42:16 -0600 Subject: Fixed MSVC issues. --- libutil/include/siglist.h | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'libutil/include/siglist.h') diff --git a/libutil/include/siglist.h b/libutil/include/siglist.h index 347cf752..dcae7c04 100644 --- a/libutil/include/siglist.h +++ b/libutil/include/siglist.h @@ -26,9 +26,6 @@ template class SigList : public QList { -private: - typedef typename QList::iterator iterator; - public: explicit SigList() : QList() {} @@ -37,11 +34,11 @@ public: virtual void clear(); - virtual void erase(iterator pos); - virtual void erase(iterator first, iterator last); + virtual void erase(typename QList::iterator pos); + virtual void erase(typename QList::iterator first, typename QList::iterator last); virtual void insert(int i, const T &t); - virtual void insert(iterator before, const T &t); + virtual void insert(typename QList::iterator before, const T &t); virtual void move(int from, int to); -- cgit v1.2.3