Skip to content

Bind an entity reference instead of an rvalue

Praetorius, Simon requested to merge issue/bind-entity-reference into master

Summary

Whenever a local-function is bound to an element, the element should be passed as an lvalue and not an rvalue. The bind(Element const&) function takes just a const& so we don't know what we get. This MR, fixes the binding in the intersections and stores the bound element in some local-functions instead of just creating a pointer to the argument.

Merge request reports