Opened 13 years ago
Last modified 12 years ago
#444 closed defect
Strange bug in ListPath<> — at Initial Version
Reported by: | Alpar Juttner | Owned by: | Alpar Juttner |
---|---|---|---|
Priority: | blocker | Milestone: | LEMON 1.3 release |
Component: | core | Version: | hg main |
Keywords: | Cc: | ||
Revision id: | 38e1d4383262 |
Description
Valgrind report an error on the following code:
ListPath<ListDigraph> p,q; p.addBack(a); q=p;
The problem seems to be that q=p
tries to copy bitwise instead of using the template ListPath?<>::operator=() implementation.
Implementing a non-template version solves the problem, but I don't understand why the template version is used.
I fear that this issue may affect other Path structures, or even other tools, too.
Note: See
TracTickets for help on using
tickets.