|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r85142 - trunk/boost/geometry/strategies/concepts
From: barend.gehrels_at_[hidden]
Date: 2013-07-23 17:18:09
Author: barendgehrels
Date: 2013-07-23 17:18:09 EDT (Tue, 23 Jul 2013)
New Revision: 85142
URL: http://svn.boost.org/trac/boost/changeset/85142
Log:
[geometry] fixed bug of MSVC. It apparently cannot pass function pointers of template functions by reference (with non-template, it could...)
Text files modified:
trunk/boost/geometry/strategies/concepts/distance_concept.hpp | 4 ++--
trunk/boost/geometry/strategies/concepts/simplify_concept.hpp | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
Modified: trunk/boost/geometry/strategies/concepts/distance_concept.hpp
==============================================================================
--- trunk/boost/geometry/strategies/concepts/distance_concept.hpp Tue Jul 23 17:11:38 2013 (r85141)
+++ trunk/boost/geometry/strategies/concepts/distance_concept.hpp 2013-07-23 17:18:09 EDT (Tue, 23 Jul 2013) (r85142)
@@ -43,7 +43,7 @@
struct checker
{
template <typename ApplyMethod>
- static void apply(ApplyMethod const&)
+ static void apply(ApplyMethod)
{
// 1: inspect and define both arguments of apply
typedef typename parameter_type_of
@@ -123,7 +123,7 @@
struct checker
{
template <typename ApplyMethod>
- static void apply(ApplyMethod const&)
+ static void apply(ApplyMethod)
{
typedef typename parameter_type_of
<
Modified: trunk/boost/geometry/strategies/concepts/simplify_concept.hpp
==============================================================================
--- trunk/boost/geometry/strategies/concepts/simplify_concept.hpp Tue Jul 23 17:11:38 2013 (r85141)
+++ trunk/boost/geometry/strategies/concepts/simplify_concept.hpp 2013-07-23 17:18:09 EDT (Tue, 23 Jul 2013) (r85142)
@@ -45,7 +45,7 @@
struct checker
{
template <typename ApplyMethod>
- static void apply(ApplyMethod const&)
+ static void apply(ApplyMethod)
{
namespace ft = boost::function_types;
typedef typename ft::parameter_types
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk