diff options
| author | Jon A. Cruz <jon@joncruz.org> | 2008-12-08 07:15:15 +0000 |
|---|---|---|
| committer | joncruz <joncruz@users.sourceforge.net> | 2008-12-08 07:15:15 +0000 |
| commit | bb672c6aad453833c8e76028668b70c14bfb4ba3 (patch) | |
| tree | 93451c6b9a71caa1171597b306eb7c27f58a989d /src/display | |
| parent | Partial fix for "make check" compilation failure. (diff) | |
| download | inkscape-bb672c6aad453833c8e76028668b70c14bfb4ba3.tar.gz inkscape-bb672c6aad453833c8e76028668b70c14bfb4ba3.zip | |
Warning and 'using' cleanup.
(bzr r6970)
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) { |
