Thanks, it worked.

-
Phani.

On Mon, Mar 23, 2009 at 6:15 PM, Andrew Sutton <andrew.n.sutton@gmail.com> 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@gmail.com

_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users