Import Geant4 10.7.2 source tree
This commit is contained in:
@@ -16,6 +16,15 @@ commit in the repository !
|
||||
* Reverse chronological order (last date on top), please *
|
||||
----------------------------------------------------------
|
||||
|
||||
June 9, 2021 Gabriele (global-V10-06-29)
|
||||
- Removed spurious spaces in #define in G4Version header.
|
||||
Addressing problem report #2384.
|
||||
- Updated tag IDs for release 10.7.p02.
|
||||
|
||||
March 26, 2021 Gabriele Cosmo
|
||||
- Zero terminate buffer in G4strstreambuf destructor before flushing.
|
||||
Addressing problem report #2350.
|
||||
|
||||
February 2, 2021 Gabriele (global-V10-06-28)
|
||||
- Updated tag IDs for release 10.7.p01.
|
||||
|
||||
|
||||
@@ -40,11 +40,11 @@
|
||||
// |--> patch number
|
||||
|
||||
#ifndef G4VERSION_NUMBER
|
||||
# define G4VERSION_NUMBER 1071
|
||||
#define G4VERSION_NUMBER 1072
|
||||
#endif
|
||||
|
||||
#ifndef G4VERSION_TAG
|
||||
# define G4VERSION_TAG "$Name: geant4-10-07-patch-01 $"
|
||||
#define G4VERSION_TAG "$Name: geant4-10-07-patch-02 $"
|
||||
#endif
|
||||
|
||||
// as variables
|
||||
@@ -53,10 +53,10 @@
|
||||
#include "G4Types.hh"
|
||||
|
||||
#ifdef G4MULTITHREADED
|
||||
static const G4String G4Version = "$Name: geant4-10-07-patch-01 [MT]$";
|
||||
static const G4String G4Version = "$Name: geant4-10-07-patch-02 [MT]$";
|
||||
#else
|
||||
static const G4String G4Version = "$Name: geant4-10-07-patch-01 $";
|
||||
static const G4String G4Version = "$Name: geant4-10-07-patch-02 $";
|
||||
#endif
|
||||
static const G4String G4Date = "(5-February-2021)";
|
||||
static const G4String G4Date = "(11-June-2021)";
|
||||
|
||||
#endif
|
||||
|
||||
@@ -43,7 +43,10 @@ inline G4strstreambuf::~G4strstreambuf()
|
||||
// flushing buffer...
|
||||
// std::cout is used because destination object may not be alive.
|
||||
if(count != 0)
|
||||
{
|
||||
buffer[count] = '\0';
|
||||
std::cout << buffer;
|
||||
}
|
||||
|
||||
delete[] buffer;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user