Opened 17 years ago
Closed 17 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 17 years ago by
comment:2 Changed 17 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Fixed in r3441 (by making the functions inline). Please close the ticket.