make swap inline to avoid link error

This commit is contained in:
Eric Berberich 2009-02-05 12:51:19 +00:00
parent e8394435df
commit 341721bb2c
1 changed files with 2 additions and 1 deletions

View File

@ -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);
}