|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r57479 - trunk/boost/lambda/detail
From: steven_at_[hidden]
Date: 2009-11-07 23:11:21
Author: steven_watanabe
Date: 2009-11-07 23:11:21 EST (Sat, 07 Nov 2009)
New Revision: 57479
URL: http://svn.boost.org/trac/boost/changeset/57479
Log:
Deal with warnings with /Za. Fixes #3485
Text files modified:
trunk/boost/lambda/detail/lambda_functor_base.hpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Modified: trunk/boost/lambda/detail/lambda_functor_base.hpp
==============================================================================
--- trunk/boost/lambda/detail/lambda_functor_base.hpp (original)
+++ trunk/boost/lambda/detail/lambda_functor_base.hpp 2009-11-07 23:11:21 EST (Sat, 07 Nov 2009)
@@ -40,7 +40,7 @@
explicit identity(par_t t) : elem(t) {}
template <typename SigArgs>
- struct sig { typedef element_t type; };
+ struct sig { typedef typename boost::remove_const<element_t>::type type; };
template<class RET, CALL_TEMPLATE_ARGS>
RET call(CALL_FORMAL_ARGS) const { CALL_USE_ARGS; return elem; }
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