Missing template keyword

This commit is contained in:
Thomas Krijnen
2024-04-19 20:40:59 +02:00
parent 29998e3f57
commit 9272a9ed1f
+2 -2
View File
@@ -91,8 +91,8 @@ class aggregate_of {
typename U::list::ptr as() {
typename U::list::ptr result(new typename U::list);
for (it i = begin(); i != end(); ++i) {
if ((*i)->as<U>()) {
result->push((*i)->as<U>());
if ((*i)->template as<U>()) {
result->push((*i)->template as<U>());
}
}
return result;