COIN-OR::LEMON - Graph Library

Opened 16 years ago

Closed 16 years ago

#18 closed defect (fixed)

non-template functions in grid_ugraph.h

Reported by: Mihaly Barasz Owned by: Alpar Juttner
Priority: minor Milestone:
Component: core Version: svn trunk
Keywords: Cc:
Revision id:

Description

In grid_ugraph.h there are some global functions defined at the end (indexMap(), rowMap() and colMap()). These are not template functions, so they should only be declared there and defined in their own .cc file. Otherwise the linker would give an error if this header is included in multiple files (which are to be linked in one binary).

Change History (2)

comment:1 Changed 16 years ago by Mihaly Barasz

Fixed in r3441 (by making the functions inline). Please close the ticket.

comment:2 Changed 16 years ago by Alpar Juttner

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.