Skip to content

Commit

Permalink
Merge pull request #92993 from capnm/240610-embree-error-hotfix
Browse files Browse the repository at this point in the history
CI: Hotfix for build error with newer clang++
  • Loading branch information
akien-mga committed Jun 11, 2024
2 parents 7359423 + c24ea0e commit 4223444
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions thirdparty/embree/kernels/geometry/pointi.h
Original file line number Diff line number Diff line change
Expand Up @@ -210,9 +210,9 @@ namespace embree
};

/*! output operator */
friend __forceinline embree_ostream operator<<(embree_ostream cout, const PointMi& line)
friend __forceinline embree_ostream operator<<(embree_ostream cout, const PointMi& point)
{
return cout << "Line" << M << "i {" << line.v0 << ", " << line.geomID() << ", " << line.primID() << "}";
return cout << "Point" << M << "i {" << point.geomID() << ", " << point.primID() << "}";
}

public:
Expand Down
2 changes: 1 addition & 1 deletion thirdparty/embree/kernels/subdiv/bezier_curve.h
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ namespace embree
}

friend embree_ostream operator<<(embree_ostream cout, const QuadraticBezierCurve& a) {
return cout << "QuadraticBezierCurve ( (" << a.u.lower << ", " << a.u.upper << "), " << a.v0 << ", " << a.v1 << ", " << a.v2 << ")";
return cout << "QuadraticBezierCurve (" << a.v0 << ", " << a.v1 << ", " << a.v2 << ")";
}
};

Expand Down

0 comments on commit 4223444

Please sign in to comment.