From 55e54692b990fefc9bc0aaa53cbec41247a4712d Mon Sep 17 00:00:00 2001 From: Samuel Debione Date: Fri, 23 May 2014 10:24:13 +0200 Subject: [PATCH] [assign] Rename the variant template parameters Was T1 and T2 but that could eventually be a problem if the user defines BOOST_VARIANT_LIMIT_TYPES > 10. --- include/boost/geometry/algorithms/assign.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/boost/geometry/algorithms/assign.hpp b/include/boost/geometry/algorithms/assign.hpp index 50f30e816..0d19f6ca9 100644 --- a/include/boost/geometry/algorithms/assign.hpp +++ b/include/boost/geometry/algorithms/assign.hpp @@ -223,8 +223,8 @@ struct assign > }; -template -struct assign, variant > +template +struct assign, variant > { struct visitor: static_visitor { @@ -243,8 +243,8 @@ struct assign, variant& geometry1, - variant const& geometry2) + apply(variant& geometry1, + variant const& geometry2) { return apply_visitor(visitor(), geometry1, geometry2); }