Commit 5a54756c authored by twanvl's avatar twanvl

need some 'typename' to keep gcc happy

parent 80e642e1
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment