mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-24 04:28:04 +00:00
C++17 compat
This commit is contained in:
@@ -346,7 +346,7 @@ struct collection : public geom_item {
|
||||
|
||||
collection() {}
|
||||
collection(const collection& other) {
|
||||
std::transform(other.children.begin(), other.children.end(), std::back_inserter(children), std::mem_fun(&item::clone));
|
||||
std::transform(other.children.begin(), other.children.end(), std::back_inserter(children), std::mem_fn(&item::clone));
|
||||
}
|
||||
|
||||
template <typename T>
|
||||
|
||||
Reference in New Issue
Block a user