|
Boost : |
From: jsiek_at_[hidden]
Date: 2000-10-16 13:48:39
Hmm, using white_color will not work when the user is not using the
default_color_type. We need to think of another way to avoid this
warning...
Claus Spacil writes:
> Hi Jeremy!
>
> Maybe you've done that anyway, but i just remembered that i didn't
> leave c uninitialized as i wrote in the initial email, but set it to
> white_color, to avoid the "variable used without being initialized"-
> warning.
>
> greetings
> Claus
>
> > Thanks for the bug report, and a special thanks for tracking it down!
> > I've checked the fix into the boost CVS.
> >
> > Cheers,
> >
> > Jeremy
> >
> > Claus Spacil writes:
> > > typename property_traits<ColorMap>::value_type c = get(color, >
> > Vertex()); > > using the functor Vertex() results in a call to get()
> > for a key value of > 0. > since my color map uses vertex descriptors
> > of std::list and not > std::vector as key values it's easy to see why
> > this must fail.
> >
> >
> >
> >
>
>
>
>
>
>
>
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk