Fork me on GitHub

Ignore:
Timestamp:
Feb 2, 2009, 12:26:00 PM (16 years ago)
Author:
Xavier Rouby
Message:

passing all objects as references

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Utilities/Hector/src/H_BeamParticle.cc

    r3 r216  
    444444}
    445445
    446 void H_BeamParticle::propagate(const H_AbstractBeamLine * beam, const string el_name) {
     446void H_BeamParticle::propagate(const H_AbstractBeamLine * beam, const string& el_name) {
    447447        propagate(beam->getElement(el_name)->getS()+beam->getElement(el_name)->getLength());
    448448        return;
Note: See TracChangeset for help on using the changeset viewer.