Opened 10 years ago

Closed 10 years ago

#7327 closed Bugs (fixed)

Use traits to create null_vertex().

Reported by: Ivan A. Melnikov <iv@…> Owned by: Jeremiah Willcock
Milestone: Boost 1.52.0 Component: graph
Version: Boost 1.51.0 Severity: Problem
Keywords: Cc:

Description

In several places Boost.Graph uses Graph::null_vertex(), where graph traits should be used. This breaks compilation when Graph is external type with no static null_vertex() method. I will attach a patch that fixes this problem where it hit me, but there might be more.

Attachments (1)

boost-1.51.0-alt-graph-use-traits.patch (1.4 KB ) - added by Ivan A. Melnikov <iv@…> 10 years ago.
patch against boost 1.51.0

Download all attachments as: .zip

Change History (2)

by Ivan A. Melnikov <iv@…>, 10 years ago

patch against boost 1.51.0

comment:1 by Jeremiah Willcock, 10 years ago

Resolution: fixed
Status: newclosed

(In [80511]) Applied patch from #7327; fixes #7327

Note: See TracTickets for help on using tickets.