Import Geant4 10.6.0.beta source tree
This commit is contained in:
@@ -11,6 +11,9 @@ Geant4Py is a Geant4-Python bridge.
|
||||
* Reverse chronological order (last date on top), please *
|
||||
----------------------------------------------------------
|
||||
|
||||
31 Jan. 2019, I.Hrivnacova
|
||||
- Merged GitHub PR #4: all Boolean operators now return G4bool.
|
||||
|
||||
30 Nov. 2017 K. Murakami
|
||||
- update for 10.5 release
|
||||
- fix CMAKE_INSTALL_PREFIX does not work (id 1924)
|
||||
|
||||
@@ -64,17 +64,17 @@ const G4ParticleGun& G4ParticleGun::operator=(const G4ParticleGun &right)
|
||||
}
|
||||
|
||||
/////////////////////////////////////////////////////////////////
|
||||
G4int G4ParticleGun::operator==(const G4ParticleGun &right) const
|
||||
G4bool G4ParticleGun::operator==(const G4ParticleGun &right) const
|
||||
/////////////////////////////////////////////////////////////////
|
||||
{
|
||||
return 0;
|
||||
return false;
|
||||
}
|
||||
|
||||
/////////////////////////////////////////////////////////////////
|
||||
G4int G4ParticleGun::operator!=(const G4ParticleGun &right) const
|
||||
G4bool G4ParticleGun::operator!=(const G4ParticleGun &right) const
|
||||
/////////////////////////////////////////////////////////////////
|
||||
{
|
||||
return 0;
|
||||
return false;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
@@ -55,7 +55,7 @@ public:
|
||||
return *this;
|
||||
}
|
||||
|
||||
bool operator==(const AClass& aclass) const {
|
||||
G4bool operator==(const AClass& aclass) const {
|
||||
if(ival == aclass.ival) return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user