Closed metux closed 4 years ago
intersection
returns an optional of a variant not a bool
. On some compiler the conversion of optional
to variant was triggering a warning.
I have no strong opinion and tend to follow @sloriot 's comment. So it is safer not to touch it ...
intersection
returns an optional of a variant not abool
. On some compiler the conversion ofoptional
to variant was triggering a warning.
in my case it triggered an build error: couldn't find an matching != operator.
CGAL::intersection returns bool, so just simple 'if' instead of comparing with 'boost::none', which isn't comparable to 'bool'.
Signed-off-by: Enrico Weigelt, metux IT consult info@metux.net