summaryrefslogtreecommitdiff
path: root/boost/geometry/strategies/area/geographic.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/geometry/strategies/area/geographic.hpp')
-rw-r--r--boost/geometry/strategies/area/geographic.hpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/boost/geometry/strategies/area/geographic.hpp b/boost/geometry/strategies/area/geographic.hpp
index 342ba45f33..a8d806c394 100644
--- a/boost/geometry/strategies/area/geographic.hpp
+++ b/boost/geometry/strategies/area/geographic.hpp
@@ -86,8 +86,11 @@ struct strategy_converter<strategy::area::geographic<FP, SO, S, CT> >
: strategies::area::geographic<FP, S, CT>(spheroid)
{}
+ using strategies::area::geographic<FP, S, CT>::area;
+
template <typename Geometry>
- auto area(Geometry const&) const
+ auto area(Geometry const&,
+ std::enable_if_t<! util::is_box<Geometry>::value> * = nullptr) const
{
return strategy::area::geographic<FP, SO, S, CT>(this->m_spheroid);
}