mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-28 03:05:33 +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 as() {
|
||||||
typename U::list::ptr result(new typename U::list);
|
typename U::list::ptr result(new typename U::list);
|
||||||
for (it i = begin(); i != end(); ++i) {
|
for (it i = begin(); i != end(); ++i) {
|
||||||
if ((*i)->as<U>()) {
|
if ((*i)->template as<U>()) {
|
||||||
result->push((*i)->as<U>());
|
result->push((*i)->template as<U>());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return result;
|
return result;
|
||||||
|
|||||||
Reference in New Issue
Block a user