From bb672c6aad453833c8e76028668b70c14bfb4ba3 Mon Sep 17 00:00:00 2001 From: "Jon A. Cruz" Date: Mon, 8 Dec 2008 07:15:15 +0000 Subject: Warning and 'using' cleanup. (bzr r6970) --- src/display/bezier-utils-test.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/display') diff --git a/src/display/bezier-utils-test.h b/src/display/bezier-utils-test.h index cc24adaad..3be643568 100644 --- a/src/display/bezier-utils-test.h +++ b/src/display/bezier-utils-test.h @@ -21,9 +21,8 @@ static bool range_approx_equal(double const a[], double const b[], unsigned cons static inline bool point_approx_equal(Geom::Point const &a, Geom::Point const &b, double const eps) { - using Geom::X; using Geom::Y; - return ( NR_DF_TEST_CLOSE(a[X], b[X], eps) && - NR_DF_TEST_CLOSE(a[Y], b[Y], eps) ); + return ( NR_DF_TEST_CLOSE(a[Geom::X], b[Geom::X], eps) && + NR_DF_TEST_CLOSE(a[Geom::Y], b[Geom::Y], eps) ); } static inline double square(double const x) { -- cgit v1.2.3