Import Geant4 11.3.0 source tree
This commit is contained in:
@@ -1180,7 +1180,7 @@ namespace G4INCL {
|
||||
/// \brief Set the vector list of biased vertices on the particle path.
|
||||
void setBiasCollisionVector(std::vector<G4int> BiasCollisionVector) {
|
||||
this->theBiasCollisionVector = BiasCollisionVector;
|
||||
this->setParticleBias(Particle::getBiasFromVector(BiasCollisionVector));
|
||||
this->setParticleBias(Particle::getBiasFromVector(std::move(BiasCollisionVector)));
|
||||
}
|
||||
|
||||
/** \brief Number of Kaon inside de nucleus
|
||||
|
||||
@@ -199,7 +199,7 @@ namespace G4INCL {
|
||||
for(ParticleIter i = (*this).begin(), e = (*this).end(); i!=e; ++i){
|
||||
MergedVector = Particle::MergeVectorBias(MergedVector,(*i));
|
||||
}
|
||||
return Particle::getBiasFromVector(MergedVector);
|
||||
return Particle::getBiasFromVector(std::move(MergedVector));
|
||||
}
|
||||
|
||||
std::vector<G4int> ParticleList::getParticleListBiasVector() const {
|
||||
@@ -316,6 +316,6 @@ namespace G4INCL {
|
||||
}
|
||||
|
||||
void Particle::setINCLBiasVector(std::vector<G4double> NewVector) {
|
||||
Particle::INCLBiasVector = NewVector;
|
||||
Particle::INCLBiasVector = std::move(NewVector);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user