| Summary: | Unnecessary Debug Output in G4MaterialPropertiesTable Destructor | ||
|---|---|---|---|
| Product: | Geant4 | Reporter: | Laurie Nevay <laurie.nevay> |
| Component: | materials | Assignee: | Marc.Verderi |
| Status: | RESOLVED FIXED | ||
| Severity: | trivial | ||
| Priority: | P4 | ||
| Version: | 10.3 | ||
| Hardware: | Apple | ||
| OS: | Mac OS X | ||
Thanks for reporting this. The fix will be included in the next patch release. |
In the destructor of G4MaterialPropertiesTable there is a print out of the pointer in a map before being deleted. This is unnecessary and a little confusing when it crops up in applications. geant4/source/materials/src/G4MaterialsPropertiesTable.cc - line 71 for (i = MPT.begin(); i != MPT.end(); ++i) { G4cout << (*i).second << G4endl; delete (*i).second; } Just a minor output fix. Only in Geant4.10.03. Cheers!