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_BeamLine.cc

    r3 r216  
    6868}
    6969
    70 void H_BeamLine::findIP(const string filename) {
     70void H_BeamLine::findIP(const string& filename) {
    7171        findIP(filename,"IP5");
    7272        return;
    7373}
    7474
    75 void H_BeamLine::findIP(const string filename, const string ipname) {
     75void H_BeamLine::findIP(const string& filename, const string& ipname) {
    7676        // searches for the IP position in the extended table.
    7777        ifstream tabfile(filename.c_str());
     
    127127}
    128128
    129 void H_BeamLine::fill(const string filename) {
     129void H_BeamLine::fill(const string& filename) {
    130130        fill(filename,1,"IP5");
    131131        return;
     
    133133
    134134
    135 void H_BeamLine::fill(const string filename, const int dir, const string ipname) {
     135void H_BeamLine::fill(const string& filename, const int dir, const string& ipname) {
    136136        string headers[40];  // table of all column headers
    137137        int header_type[40]; // table of all column types
Note: See TracChangeset for help on using the changeset viewer.