| Summary: | G4GDMLParser::Clear() does not clear auxiliary map | ||
|---|---|---|---|
| Product: | Geant4 | Reporter: | Wouter Deconinck <wdconinc> |
| Component: | persistency/gdml | Assignee: | Gabriele Cosmo <Gabriele.Cosmo> |
| Status: | RESOLVED FIXED | ||
| Severity: | minor | ||
| Priority: | P4 | ||
| Version: | 10.4 | ||
| Hardware: | All | ||
| OS: | All | ||
Thanks for spotting this. The fix is now in place in the development tree and will be available in the next patch and release. |
The G4GDMLParser::Clear() method does not clear the auxiliary map information. Suggested fix: The following implentation of G4GDMLReadStructure::Clear() (called by G4GDMLParser::Clear()) could also include auxMap.clear(). void G4GDMLReadStructure::Clear() { eval.Clear(); setuptoPV.clear(); }