Boost logo

Boost Users :

Subject: Re: [Boost-users] Seg fault while adding 2nd edge to the graph
From: Phani Deepak (phanidee_at_[hidden])
Date: 2009-03-24 04:38:11


Thanks, it worked.

-
Phani.

On Mon, Mar 23, 2009 at 6:15 PM, Andrew Sutton <andrew.n.sutton_at_[hidden]>wrote:

>
> Vertex getVertexbyId(std::string id,Graph g){
>>
>
>
> It probably has something to do with the fact that you're making a copy of
> the graph. Change "Graph g" to "const Graph& g".
>
> Andrew Sutton
> andrew.n.sutton_at_[hidden]
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net