$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
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://listarchives.boost.org/mailman/listinfo.cgi/boost-users
>