diff --git a/Polynomial/include/CGAL/Exponent_vector.h b/Polynomial/include/CGAL/Exponent_vector.h index f44ecb21804..d743faa900b 100644 --- a/Polynomial/include/CGAL/Exponent_vector.h +++ b/Polynomial/include/CGAL/Exponent_vector.h @@ -172,7 +172,8 @@ inline std::ostream& operator << (std::ostream& os, const Exponent_vector& ev) { CGAL_END_NAMESPACE namespace std{ -template <> void swap(CGAL::Exponent_vector& ev1, CGAL::Exponent_vector& ev2){ +template <> inline +void swap(CGAL::Exponent_vector& ev1, CGAL::Exponent_vector& ev2){ ev1.swap(ev2); }