Fix warnings if no solver available

This commit is contained in:
Simon Giraudot 2019-08-20 13:27:38 +02:00
parent 80c726282b
commit 0d4959eba8
1 changed files with 6 additions and 0 deletions

View File

@ -20,6 +20,12 @@ SMesh* polygonal_reconstruct (const Point_set& points,
double model_complexity,
const QString& solver_name)
{
// Avoid warnings if no solver is available
CGAL_USE (data_fitting);
CGAL_USE (data_coverage);
CGAL_USE (model_complexity);
CGAL_USE (solver_name);
Point_set::Property_map<int> shape_map
= points.property_map<int>("shape").first;