Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r80811 - trunk/boost/graph
From: jewillco_at_[hidden]
Date: 2012-10-01 14:31:16


Author: jewillco
Date: 2012-10-01 14:31:15 EDT (Mon, 01 Oct 2012)
New Revision: 80811
URL: http://svn.boost.org/trac/boost/changeset/80811

Log:
Changed classes to structs to get public inheritance; thanks to Shaun Jackman for the bug report
Text files modified:
   trunk/boost/graph/properties.hpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/boost/graph/properties.hpp
==============================================================================
--- trunk/boost/graph/properties.hpp (original)
+++ trunk/boost/graph/properties.hpp 2012-10-01 14:31:15 EDT (Mon, 01 Oct 2012)
@@ -248,8 +248,8 @@
>::type type;
   };
 
- template <class Graph> class vertex_property: vertex_property_type<Graph> {};
- template <class Graph> class edge_property: edge_property_type<Graph> {};
+ template <typename Graph> struct vertex_property: vertex_property_type<Graph> {};
+ template <typename Graph> struct edge_property: edge_property_type<Graph> {};
 
   template <typename Graph>
   class degree_property_map


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