From dacff470ee1d4f9cd899ff1807a8bd4d8b748349 Mon Sep 17 00:00:00 2001 From: Menelaos Karavelas Date: Thu, 10 Jul 2014 10:09:46 +0300 Subject: [PATCH] [algorithms][length] replace result_of::length by default_length_result --- include/boost/geometry/algorithms/length.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/boost/geometry/algorithms/length.hpp b/include/boost/geometry/algorithms/length.hpp index d0e8073cb..6cbec5303 100644 --- a/include/boost/geometry/algorithms/length.hpp +++ b/include/boost/geometry/algorithms/length.hpp @@ -187,7 +187,7 @@ template struct length { template - static inline typename result_of::length::type + static inline typename default_length_result::type apply(Geometry const& geometry, Strategy const& strategy) { return dispatch::length::apply(geometry, strategy); @@ -197,7 +197,7 @@ struct length template struct length > { - typedef typename result_of::length + typedef typename default_length_result < boost::variant >::type result_type; @@ -213,7 +213,7 @@ struct length > {} template - inline typename result_of::length::type + inline typename default_length_result::type operator()(Geometry const& geometry) const { return length::apply(geometry, m_strategy);