mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-19 03:33:48 +00:00
fixes for clang
This commit is contained in:
@@ -3,6 +3,10 @@
|
||||
using namespace ifcopenshell::geometry::taxonomy;
|
||||
|
||||
namespace {
|
||||
bool compare(const trimmed_curve& a, const trimmed_curve& b);
|
||||
|
||||
bool compare(const collection& a, const collection& b);
|
||||
|
||||
template <typename T>
|
||||
bool compare(const eigen_base<T>& t, const eigen_base<T>& u) {
|
||||
auto t_begin = t.components->data();
|
||||
@@ -84,10 +88,6 @@ namespace {
|
||||
-1 : (!b_lt_a ? 0 : 1);
|
||||
}
|
||||
|
||||
bool compare(const trimmed_curve& a, const trimmed_curve& b);
|
||||
|
||||
bool compare(const collection& a, const collection& b);
|
||||
|
||||
bool compare(const extrusion& a, const extrusion& b) {
|
||||
// @todo extrusions can also have non-identity matrices right? perhaps it's time
|
||||
// for a dedicated transform node and not on the abstract geom_item.
|
||||
|
||||
Reference in New Issue
Block a user