Import Geant4 9.6.0 source tree
This commit is contained in:
@@ -24,8 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4VTwistedFaceted.hh,v 1.12 2010-09-20 15:03:02 gcosmo Exp $
|
||||
// GEANT4 tag $Name: not supported by cvs2svn $
|
||||
// $Id$
|
||||
//
|
||||
// --------------------------------------------------------------------
|
||||
// GEANT 4 class header file
|
||||
@@ -242,6 +241,7 @@ class G4VTwistedFaceted: public G4VSolid
|
||||
}
|
||||
LastVector& operator=(const LastVector& r)
|
||||
{
|
||||
if (&r == this) { return *this; }
|
||||
p = r.p; vec = r.vec;
|
||||
delete [] surface; surface = new G4VTwistSurface*[1];
|
||||
surface[0] = r.surface[0];
|
||||
@@ -265,6 +265,7 @@ class G4VTwistedFaceted: public G4VSolid
|
||||
LastValue(const LastValue& r) : p(r.p), value(r.value){}
|
||||
LastValue& operator=(const LastValue& r)
|
||||
{
|
||||
if (this == &r) { return *this; }
|
||||
p = r.p; value = r.value;
|
||||
return *this;
|
||||
}
|
||||
@@ -287,6 +288,7 @@ class G4VTwistedFaceted: public G4VSolid
|
||||
: p(r.p), vec(r.vec), value(r.value){}
|
||||
LastValueWithDoubleVector& operator=(const LastValueWithDoubleVector& r)
|
||||
{
|
||||
if (this == &r) { return *this; }
|
||||
p = r.p; vec = r.vec; value = r.value;
|
||||
return *this;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user