Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r53391 - trunk/boost/signals2/detail
From: fmhess_at_[hidden]
Date: 2009-05-29 10:30:56


Author: fmhess
Date: 2009-05-29 10:30:53 EDT (Fri, 29 May 2009)
New Revision: 53391
URL: http://svn.boost.org/trac/boost/changeset/53391

Log:
Forgot to convert one use of old vararg_count to sizeof...().

Text files modified:
   trunk/boost/signals2/detail/variadic_slot_invoker.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/signals2/detail/variadic_slot_invoker.hpp
==============================================================================
--- trunk/boost/signals2/detail/variadic_slot_invoker.hpp (original)
+++ trunk/boost/signals2/detail/variadic_slot_invoker.hpp 2009-05-29 10:30:53 EDT (Fri, 29 May 2009)
@@ -67,7 +67,7 @@
         template<typename Func, typename ... Args>
           R operator()(Func &func, std::tuple<Args...> args) const
         {
- typedef typename make_unsigned_meta_array<vararg_count<Args...>::value>::type indices_type;
+ typedef typename make_unsigned_meta_array<sizeof...(Args)>::type indices_type;
           typename Func::result_type *resolver = 0;
           return m_invoke(resolver, func, indices_type(), args);
         }


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