From 3c37473d479194c7bfd97a032cb6bc4dba36c2ac Mon Sep 17 00:00:00 2001 From: Sylvain Pion Date: Tue, 17 Jun 2008 08:13:11 +0000 Subject: [PATCH] Qualify get() with CGAL:: and add missing header . --- Cartesian_kernel/include/CGAL/Cartesian/Vector_2.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Cartesian_kernel/include/CGAL/Cartesian/Vector_2.h b/Cartesian_kernel/include/CGAL/Cartesian/Vector_2.h index a58531e02c3..31fa7177de9 100644 --- a/Cartesian_kernel/include/CGAL/Cartesian/Vector_2.h +++ b/Cartesian_kernel/include/CGAL/Cartesian/Vector_2.h @@ -27,6 +27,7 @@ #include #include #include +#include CGAL_BEGIN_NAMESPACE @@ -63,12 +64,12 @@ public: const FT & x() const { - return get(base)[0]; + return CGAL::get(base)[0]; } const FT & y() const { - return get(base)[1]; + return CGAL::get(base)[1]; } const FT & hx() const @@ -88,12 +89,12 @@ public: Cartesian_const_iterator cartesian_begin() const { - return get(base).begin(); + return CGAL::get(base).begin(); } Cartesian_const_iterator cartesian_end() const { - return get(base).end(); + return CGAL::get(base).end(); } };