From 341721bb2cb4b9dbdc22ed2f7c874019a4089c0b Mon Sep 17 00:00:00 2001 From: Eric Berberich Date: Thu, 5 Feb 2009 12:51:19 +0000 Subject: [PATCH] make swap inline to avoid link error --- Polynomial/include/CGAL/Exponent_vector.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); }