Import Geant4 0.1.0 source tree
This commit is contained in:
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4MPVEntry.cc,v 2.1 1998/07/13 17:14:08 urbi Exp $
|
||||
// GEANT4 tag $Name: geant4-00 $
|
||||
// $Id: G4MPVEntry.cc,v 1.2 1999/04/14 12:49:02 maire Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
//
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////////
|
||||
@@ -61,11 +61,12 @@ G4bool G4MPVEntry::operator <(const G4MPVEntry &right) const
|
||||
// -----------------------
|
||||
// Well defined = semantics required by RWTPtrSortedVector
|
||||
//
|
||||
G4MPVEntry& G4MPVEntry::operator =(const G4MPVEntry &right)
|
||||
G4MPVEntry& G4MPVEntry::operator =(const G4MPVEntry& right)
|
||||
{
|
||||
if (this == &right) return *this;
|
||||
|
||||
thePhotonMomentum = right.thePhotonMomentum;
|
||||
theProperty = right.theProperty;
|
||||
|
||||
return *this;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user