Fix oqgraph compilation with Boost versions <=1.49

This commit is contained in:
Vicențiu Ciorbaru 2017-10-09 20:30:52 +03:00
parent 440157cbbe
commit 1cfcb58539

View File

@ -891,7 +891,7 @@ namespace open_query
boost::unordered_map<Vertex, Vertex> p;
boost::unordered_map<Vertex, EdgeWeight> d;
boost::queue<Vertex> Q;
reverse_graph<Graph> r(share->g);
const reverse_graph<Graph> r(share->g);
p[ *dest ]= *dest;
d[ *dest ] = EdgeWeight();
switch (ALGORITHM & op)