Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r77540 - trunk/libs/property_map/test
From: jewillco_at_[hidden]
Date: 2012-03-25 12:58:08


Author: jewillco
Date: 2012-03-25 12:58:07 EDT (Sun, 25 Mar 2012)
New Revision: 77540
URL: http://svn.boost.org/trac/boost/changeset/77540

Log:
Removed unnecessary (and incorrect in C++03) typenames
Text files modified:
   trunk/libs/property_map/test/function_property_map_test.cpp | 6 +++---
   1 files changed, 3 insertions(+), 3 deletions(-)

Modified: trunk/libs/property_map/test/function_property_map_test.cpp
==============================================================================
--- trunk/libs/property_map/test/function_property_map_test.cpp (original)
+++ trunk/libs/property_map/test/function_property_map_test.cpp 2012-03-25 12:58:07 EDT (Sun, 25 Mar 2012)
@@ -41,9 +41,9 @@
   function_requires<ReadWritePropertyMapConcept<function_property_map<return_fixed_ref<int>, int>, int> >();
   function_requires<LvaluePropertyMapConcept<function_property_map<return_fixed_ref<int>, int>, int> >();
 
- BOOST_STATIC_ASSERT((boost::is_same<typename boost::property_traits<function_property_map<add1<int>, int> >::category, boost::readable_property_map_tag>::value));
- BOOST_STATIC_ASSERT((boost::is_same<typename boost::property_traits<function_property_map<add1_val<int>, int> >::category, boost::readable_property_map_tag>::value));
- BOOST_STATIC_ASSERT((boost::is_same<typename boost::property_traits<function_property_map<return_fixed_ref<int>, int> >::category, boost::lvalue_property_map_tag>::value));
+ BOOST_STATIC_ASSERT((boost::is_same<boost::property_traits<function_property_map<add1<int>, int> >::category, boost::readable_property_map_tag>::value));
+ BOOST_STATIC_ASSERT((boost::is_same<boost::property_traits<function_property_map<add1_val<int>, int> >::category, boost::readable_property_map_tag>::value));
+ BOOST_STATIC_ASSERT((boost::is_same<boost::property_traits<function_property_map<return_fixed_ref<int>, int> >::category, boost::lvalue_property_map_tag>::value));
 
   BOOST_CHECK(get(function_property_map<add1<int>, int>(), 3) == 4);
   BOOST_CHECK(get(function_property_map<add1<int>, int>(add1<int>()), 4) == 5);


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