Modify

Opened 5 years ago

Closed 5 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@…> 5 years ago.
patch against boost 1.51.0

Download all attachments as: .zip

Change History (2)

Changed 5 years ago by Ivan A. Melnikov <iv@…>

patch against boost 1.51.0

comment:1 Changed 5 years ago by Jeremiah Willcock

Resolution: fixed
Status: newclosed

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

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jeremiah Willcock.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.