Boost logo

Boost-Commit :

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


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

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

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


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