diff options
Diffstat (limited to 'src/display')
| -rw-r--r-- | src/display/bezier-utils-test.h | 5 |
1 files changed, 2 insertions, 3 deletions
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) { |
