Fix warnigns

This commit is contained in:
Maxime Gimeno 2019-05-03 13:27:00 +02:00
parent 98264854eb
commit b8dc1ae063
3 changed files with 3 additions and 3 deletions

View File

@ -16,7 +16,7 @@ inline QColor generate_color(double h, double s_min = 0.35)
template <typename Output_color_iterator> template <typename Output_color_iterator>
Output_color_iterator Output_color_iterator
compute_color_map(QColor base_color, compute_color_map(QColor base_color,
unsigned nb_of_colors, std::size_t nb_of_colors,
Output_color_iterator out) Output_color_iterator out)
{ {
qreal hue = base_color.hueF(); qreal hue = base_color.hueF();

View File

@ -63,7 +63,7 @@ public:
bool canSave(const CGAL::Three::Scene_item*){return false;} bool canSave(const CGAL::Three::Scene_item*){return false;}
bool save(const CGAL::Three::Scene_item*, QFileInfo fileinfo){ bool save(const CGAL::Three::Scene_item*, QFileInfo){
return false; return false;
} }

View File

@ -78,7 +78,7 @@ public:
//! list of available loaders when loading a file, which means it will be the //! list of available loaders when loading a file, which means it will be the
//! first in the list. //! first in the list.
//! @param name is the extension without the dot (e.g. "off" for a .off file) //! @param name is the extension without the dot (e.g. "off" for a .off file)
virtual bool isDefaultLoader(const QString& name) const { return false; } virtual bool isDefaultLoader(const QString& name) const { Q_UNUSED(name); return false; }
}; };
} }
} }