Skip to content
Snippets Groups Projects
Commit 2c8825f7 authored by Pierre Fernbach's avatar Pierre Fernbach Committed by stevet
Browse files

fix compilation warnings

parent 0e1e01e7
No related branches found
No related tags found
No related merge requests found
......@@ -65,7 +65,7 @@ struct curve_abc : std::unary_function<Time, Point>, public serialization::Seria
// Serialization of the class
friend class boost::serialization::access;
template <class Archive>
void serialize(Archive& ar, const unsigned int version) {
void serialize(Archive& /*ar*/, const unsigned int version) {
if (version) {
// Do something depending on version ?
}
......
......@@ -538,6 +538,7 @@ namespace curves
.def("__call__", &bernstein_t::operator())
;
/** END bernstein polynomial**/
/** BEGIN curves conversion**/
def("polynomial_from_bezier", polynomial_from_curve<polynomial_t,bezier_t>);
def("polynomial_from_hermite", polynomial_from_curve<polynomial_t,cubic_hermite_spline_t>);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment