mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-12 13:37:00 -04:00
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:
+1
-1
@@ -26,7 +26,7 @@ class Filter : public IntrusivePtrVirtualBase {
|
|||||||
}
|
}
|
||||||
/// Select objects from a list
|
/// Select objects from a list
|
||||||
virtual void getItems(vector<TP> const& in, vector<VoidP>& out) const {
|
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)) {
|
if (keep(**it)) {
|
||||||
out.push_back(*it);
|
out.push_back(*it);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user