need some 'typename' to keep gcc happy

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1621 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2011-01-18 20:13:11 +00:00
parent a7ac71e244
commit 5e0b5f47bc
+1 -1
View File
@@ -26,7 +26,7 @@ class Filter : public IntrusivePtrVirtualBase {
}
/// Select objects from a list
virtual void getItems(vector<TP> const& in, vector<VoidP>& out) const {
for (vector<TP>::const_iterator it = in.begin() ; it != in.end() ; ++it) {
for (typename vector<TP>::const_iterator it = in.begin() ; it != in.end() ; ++it) {
if (keep(**it)) {
out.push_back(*it);
}