mirror of https://github.com/CGAL/cgal
bugfix: use the traits data member otherwise the shared_data cannot be used
This commit is contained in:
parent
7759780691
commit
9ffa8ac7f8
|
|
@ -138,7 +138,7 @@ public:
|
|||
#else
|
||||
boost::optional< typename AABBTraits::template Intersection_and_primitive_id<Query>::Type >
|
||||
#endif
|
||||
intersection = AABBTraits().intersection_object()(query, primitive);
|
||||
intersection = m_traits.intersection_object()(query, primitive);
|
||||
|
||||
if(intersection)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue