Fix implementation getter

This commit is contained in:
Simon Giraudot 2020-03-25 16:17:01 +01:00
parent c4597c74a1
commit 522a8b2e49
2 changed files with 3 additions and 3 deletions

View File

@ -539,7 +539,7 @@ double alpha_expansion_graphcut (const InputGraph& input_graph,
typedef typename GetInitializedVertexIndexMap<InputGraph, NamedParameters>::type VertexIndexMap;
VertexIndexMap vertex_index_map = CGAL::get_initialized_vertex_index_map(input_graph, np);
typedef typename GetImplementationTag<NamedParameters, Alpha_expansion_boost_adjacency_list_tag>::type Alpha_expansion;
typedef typename GetImplementationTag<NamedParameters>::type Alpha_expansion;
typedef typename Alpha_expansion::Vertex_descriptor Vertex_descriptor;
Alpha_expansion alpha_expansion;

View File

@ -551,14 +551,14 @@ CGAL_DEF_GET_INITIALIZED_INDEX_MAP(face, typename boost::graph_traits<Graph>::fa
> ::type type;
};
template<typename NamedParameters, typename DefaultImplementation>
template<typename NamedParameters>
class GetImplementationTag
{
public:
typedef typename internal_np::Lookup_named_param_def <
internal_np::implementation_tag_t,
NamedParameters,
DefaultImplementation
Alpha_expansion_boost_adjacency_list_tag
>::type type;
};
} //namespace CGAL