Commit 5c45cb3a authored by Tiago Peixoto's avatar Tiago Peixoto

Remove references to 'typename' outside of templates

parent 101b2e32
......@@ -262,7 +262,7 @@ python::object GraphInterface::DegreeMap(string deg, boost::any weight) const
python::object deg_map;
typedef typename mpl::push_back<edge_scalar_properties,
typedef mpl::push_back<edge_scalar_properties,
detail::no_weightS>::type weight_t;
if (weight.empty())
weight = detail::no_weightS();
......
......@@ -209,10 +209,10 @@ struct edge_label_mapping
// ConstantPropertyMap<bool,GraphInterface::edge_t> >
// ::type edge_props_t;
typedef typename property_map_type::apply<int32_t, GraphInterface::vertex_index_map_t>::type vlabel_t;
typedef property_map_type::apply<int32_t, GraphInterface::vertex_index_map_t>::type vlabel_t;
typedef mpl::vector<vlabel_t, ConstantPropertyMap<bool,GraphInterface::vertex_t> > vertex_props_t;
typedef typename property_map_type::apply<int32_t, GraphInterface::edge_index_map_t>::type elabel_t;
typedef property_map_type::apply<int32_t, GraphInterface::edge_index_map_t>::type elabel_t;
typedef mpl::vector<elabel_t, ConstantPropertyMap<bool,GraphInterface::edge_t> > edge_props_t;
void subgraph_isomorphism(GraphInterface& gi1, GraphInterface& gi2,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment