Import Geant4 5.1.0 source tree
This commit is contained in:
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4strstreambuf.icc,v 1.6 2002/05/24 15:01:54 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-05-00 $
|
||||
// $Id: G4strstreambuf.icc,v 1.8 2003/03/27 16:41:43 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-05-01 $
|
||||
//
|
||||
//
|
||||
// ---------------------------------------------------------------
|
||||
@@ -49,7 +49,7 @@ G4strstreambuf::~G4strstreambuf()
|
||||
|
||||
inline
|
||||
G4strstreambuf::G4strstreambuf(const G4strstreambuf& right)
|
||||
: destination(right.destination),
|
||||
: std_streambuf(), destination(right.destination),
|
||||
buffer(right.buffer), count(right.count), size(right.size)
|
||||
{
|
||||
}
|
||||
@@ -88,7 +88,7 @@ G4int G4strstreambuf::overflow(G4int c)
|
||||
// for cout, cerr overflow() function has to be c instead of 0 when
|
||||
// buffer is flushed for carriage-return.
|
||||
//
|
||||
#if defined(GNU_GCC) && defined(G4USE_STD_NAMESPACE) && (__GNUC__==3) && (__GNUC_MINOR__==0)
|
||||
#if (__GNUC__==3) && (__GNUC_MINOR__==0)
|
||||
if (this == & G4coutbuf || this == & G4cerrbuf) result = c;
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user