summaryrefslogtreecommitdiffstats
path: root/src/2geom/d2.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/2geom/d2.h')
-rw-r--r--src/2geom/d2.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/2geom/d2.h b/src/2geom/d2.h
index 3a9e14bda..47355eb60 100644
--- a/src/2geom/d2.h
+++ b/src/2geom/d2.h
@@ -130,9 +130,9 @@ operator!=(D2<T> const &a, D2<T> const &b) {
//IMPL: NearConcept
template <typename T>
inline bool
-near(D2<T> const &a, D2<T> const &b, double tol) {
+are_near(D2<T> const &a, D2<T> const &b, double tol) {
boost::function_requires<NearConcept<T> >();
- return near(a[0], b[0]) && near(a[1], b[1]);
+ return are_near(a[0], b[0]) && are_near(a[1], b[1]);
}
//IMPL: AddableConcept