From 5c45cb3adf17c23b4ff2eed03358359184b5cf25 Mon Sep 17 00:00:00 2001 From: Tiago de Paula Peixoto Date: Thu, 24 Oct 2013 13:13:16 +0200 Subject: [PATCH] Remove references to 'typename' outside of templates --- src/graph/graph_python_interface.cc | 4 ++-- src/graph/topology/graph_subgraph_isomorphism.cc | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/graph/graph_python_interface.cc b/src/graph/graph_python_interface.cc index f82c2c0e..e4f82d3c 100644 --- a/src/graph/graph_python_interface.cc +++ b/src/graph/graph_python_interface.cc @@ -262,8 +262,8 @@ python::object GraphInterface::DegreeMap(string deg, boost::any weight) const python::object deg_map; - typedef typename mpl::push_back::type weight_t; + typedef mpl::push_back::type weight_t; if (weight.empty()) weight = detail::no_weightS(); diff --git a/src/graph/topology/graph_subgraph_isomorphism.cc b/src/graph/topology/graph_subgraph_isomorphism.cc index 112472e3..ffc9e780 100644 --- a/src/graph/topology/graph_subgraph_isomorphism.cc +++ b/src/graph/topology/graph_subgraph_isomorphism.cc @@ -209,10 +209,10 @@ struct edge_label_mapping // ConstantPropertyMap > // ::type edge_props_t; -typedef typename property_map_type::apply::type vlabel_t; +typedef property_map_type::apply::type vlabel_t; typedef mpl::vector > vertex_props_t; -typedef typename property_map_type::apply::type elabel_t; +typedef property_map_type::apply::type elabel_t; typedef mpl::vector > edge_props_t; void subgraph_isomorphism(GraphInterface& gi1, GraphInterface& gi2, -- GitLab