Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r86577 - trunk/libs/graph/test
From: jewillco_at_[hidden]
Date: 2013-11-06 16:16:56


Author: jewillco
Date: 2013-11-06 16:16:55 EST (Wed, 06 Nov 2013)
New Revision: 86577
URL: http://svn.boost.org/trac/boost/changeset/86577

Log:
Fixed invalid uses of "typename"

Text files modified:
   trunk/libs/graph/test/make_connected_test.cpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/libs/graph/test/make_connected_test.cpp
==============================================================================
--- trunk/libs/graph/test/make_connected_test.cpp Wed Nov 6 16:06:49 2013 (r86576)
+++ trunk/libs/graph/test/make_connected_test.cpp 2013-11-06 16:16:55 EST (Wed, 06 Nov 2013) (r86577)
@@ -116,7 +116,7 @@
   std::vector<int> gVV_components(num_vertices(gVV));
   boost::iterator_property_map<
     std::vector<int>::iterator,
- typename boost::property_map<VVgraph_t, boost::vertex_index_t>::const_type
+ boost::property_map<VVgraph_t, boost::vertex_index_t>::const_type
> gVV_components_pm(gVV_components.begin(), get(boost::vertex_index, gVV));
   BOOST_CHECK(connected_components(gVV, gVV_components_pm) ==
               static_cast<int>(num_cycles));
@@ -132,7 +132,7 @@
   std::vector<int> gLV_components(num_vertices(gLV));
   boost::iterator_property_map<
     std::vector<int>::iterator,
- typename boost::property_map<VVgraph_t, boost::vertex_index_t>::const_type
+ boost::property_map<VVgraph_t, boost::vertex_index_t>::const_type
> gLV_components_pm(gLV_components.begin(), get(boost::vertex_index, gLV));
   BOOST_CHECK(connected_components(gLV, gLV_components_pm) ==
               static_cast<int>(num_cycles));


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