mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-13 02:47:48 +00:00
Missing template keyword
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user