|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r80532 - trunk/boost/pending
From: jewillco_at_[hidden]
Date: 2012-09-15 09:49:05
Author: jewillco
Date: 2012-09-15 09:49:04 EDT (Sat, 15 Sep 2012)
New Revision: 80532
URL: http://svn.boost.org/trac/boost/changeset/80532
Log:
Further fixed #7378 issue; refs #7378
Text files modified:
trunk/boost/pending/property.hpp | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
Modified: trunk/boost/pending/property.hpp
==============================================================================
--- trunk/boost/pending/property.hpp (original)
+++ trunk/boost/pending/property.hpp 2012-09-15 09:49:04 EDT (Sat, 15 Sep 2012)
@@ -156,7 +156,8 @@
BOOST_STATIC_CONSTANT(bool, found = (lookup_one_property_internal<T, Tag>::found));
typedef const typename lookup_one_property_internal<T, Tag>::type type;
template <typename U>
- static typename enable_if<is_same<T, U>, const typename lookup_one_property_internal<T, Tag>::type&>::type
+ static typename lazy_enable_if<is_same<T, U>,
+ add_reference<const typename lookup_one_property_internal<T, Tag>::type> >::type
lookup(const U& p, Tag tag) {
return lookup_one_property_internal<T, Tag>::lookup(p, tag);
}
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