Added the -pedantic compilation option, removed a ';'.
[mappings.git] / mappings.cc
index 236ae15..f5b6be4 100644 (file)
@@ -177,7 +177,7 @@ Mapping &Mapping::operator = (const Mapping &m) {
 }
 
 float Mapping::operator () (float x) const { return f->eval(x); }
-Mapping Mapping::derivative() const { return Mapping(f->derivative()); };
+Mapping Mapping::derivative() const { return Mapping(f->derivative()); }
 Mapping Mapping::compose(const Mapping &m) const { return Mapping(f->compose(m.f)); }
 
 Mapping Mapping::add(const Mapping &m) const { return Mapping(new Sum(f, m.f)); }