Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r82377 - trunk/boost/geometry/algorithms
From: bruno.lalande_at_[hidden]
Date: 2013-01-06 16:35:08


Author: bruno.lalande
Date: 2013-01-06 16:35:07 EST (Sun, 06 Jan 2013)
New Revision: 82377
URL: http://svn.boost.org/trac/boost/changeset/82377

Log:
Made clearer that variant's tag is irrelevant.
Text files modified:
   trunk/boost/geometry/algorithms/area.hpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/boost/geometry/algorithms/area.hpp
==============================================================================
--- trunk/boost/geometry/algorithms/area.hpp (original)
+++ trunk/boost/geometry/algorithms/area.hpp 2013-01-06 16:35:07 EST (Sun, 06 Jan 2013)
@@ -143,8 +143,8 @@
 };
 
 
-template <BOOST_VARIANT_ENUM_PARAMS(typename T)>
-struct area<boost::variant<BOOST_VARIANT_ENUM_PARAMS(T)>, void>
+template <BOOST_VARIANT_ENUM_PARAMS(typename T), typename Unused>
+struct area<boost::variant<BOOST_VARIANT_ENUM_PARAMS(T)>, Unused>
 {
     template <typename Strategy>
     struct visitor: boost::static_visitor<typename Strategy::return_type>


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