Commit 44917c1c authored by Tiago Peixoto's avatar Tiago Peixoto
Browse files

Workaround for gcc + boost bug

This fixes a compile error with gcc 4.4 and boost in debian squeeze.
parent 990b4739
......@@ -118,8 +118,8 @@ void GraphInterface::CopyVertexProperty(const GraphInterface& src,
boost::any prop_tgt)
{
run_action<>()
(*this, bind<void>(copy_property<vertex_selector,vertex_properties>(),
_1, _2, _3, prop_src),
(*this, boost::bind<void>(copy_property<vertex_selector,vertex_properties>(),
_1, _2, _3, prop_src),
graph_views(), writable_vertex_properties())
(src.GetGraphView(), prop_tgt);
}
......@@ -129,8 +129,8 @@ void GraphInterface::CopyEdgeProperty(const GraphInterface& src,
boost::any prop_tgt)
{
run_action<>()
(*this, bind<void>(copy_property<edge_selector,edge_properties>(),
_1, _2, _3, prop_src),
(*this, boost::bind<void>(copy_property<edge_selector,edge_properties>(),
_1, _2, _3, prop_src),
graph_views(), writable_edge_properties())
(src.GetGraphView(), prop_tgt);
}
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